XfceSMClient is done-ish

Ali Abdallah aliov at xfce.org
Tue Oct 6 22:02:59 CEST 2009


Brian J. Tarricone wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10/06/2009 02:21 AM, Ali Abdallah wrote:
>   
>> Brian J. Tarricone wrote:
>>     
>>> If an app cares about network state, then it likely cares about network
>>> state changes that happen regardless of suspend/hibernate, so it should
>>> watch signals on the org.freedesktop.NetworkManager dbus interface.  I'm
>>> sure I could make a similar parallel for other services.
>>>   
>>>       
>> Network Manager exposes two methods, sleep and wake, those are to be
>> used by power manager or session manager (or any application that does
>> suspend/hibernate) before performing suspend/hibernate operations, then
>> as said, network manager takes the rest of the work to emit the
>> necessary signals for indication state_change, connection_change, etc... .
>>     
>
> Yup.  Thing is, though, a regular app probably won't even care about the
> sleep/wake signals.  Watching state_change or connection_change should
> be enough, because the app probably just wants to know when the network
> is connected or disconnected, which can happen whether or not the
> machine goes to sleep.
>
>   
Exactly.

Thanks for making XfceSMClient public so other projects (goodies) can 
make use of it and drop libxfcegui4 dependency.

> 	-brian
>   
Cheers,
Ali.

> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.11 (GNU/Linux)
>
> iEYEARECAAYFAkrLgm0ACgkQ6XyW6VEeAnuY/ACg4YrPENw1e4OBCQS/N5iUiVY2
> ozAAoKUXNpL3Rf6RRlMg/NOAGzGlwitx
> =aakk
> -----END PGP SIGNATURE-----
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>   




More information about the Xfce4-dev mailing list