Share xfce4-session and xfce4-power-manager code

Nick Schermer nickschermer at gmail.com
Sun Feb 20 15:16:50 CET 2011


On Sun, Feb 20, 2011 at 2:58 PM, Jannis Pohlmann <jannis at xfce.org> wrote:
>> Libxfce4ui if it requires Gtk+, but if we want to include something
>> like this, we have to agree what to do with the libraries if we switch
>> to Gtk3. I guess we make bump the abi version as well, so then we can
>> safely remove the 'libunique' api which is also included in gtk3.
>
> I wonder if we really need it. It's true that the number of singleton
> services we have in Xfce is increasing (thunar, session manager, power
> manager service, xfrun4 in 4.8, xfrun4/xfce4-appfinder in 4.10, ...).
>
> At least Thunar and xfce4-power-manager we already have this
> implemented their own ways and I don't expect those implementations to
> change much. So maybe we can avoid adding a unique-app feature and
> switch to GApplication/GtkApplication once we switch to GTK+ 3.

I agree, lets keep the custom implementations for now and avoid the
risk of breaking things and switch to G(tk)Application once we start
using Gtk3.

Nick



More information about the Xfce4-dev mailing list