Share xfce4-session and xfce4-power-manager code
aliov at xfce.org
Sun Feb 20 15:40:17 CET 2011
On 02/20/2011 03:06 PM, Jannis Pohlmann wrote:
>> For upower and polkit, is these are going to be Xfce dependencies ?
>> for the moment i'm not using them in xfpm, but maybe as you said we
>> should think about using them instead of supporting lot of dbus-glib
> Depends on how complex the interaction with upower and PolicyKit is.
> dbus-binding-tool is able to generate stubs for calling methods on
> D-Bus proxy objects without too much extra code, so maybe that would be
The interaction with upower is simple, with polkit, it is a bit complex,
but already the interaction is done using dbus calls in xfpm and
xfce4-session, the only risk here is a possible change in some methods
in upower or polkit, this might potentially happen, you know the story
of these two services, but okay, even in this case the dbus call fails
and that's it.
> - Jannis
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
More information about the Xfce4-dev