On 4 April 2011 21:29, Phillip Susi <ps...@cfl.rr.com> wrote: > If you don't want to add an argument to the signal, is it possible to > add it as an attribute instead? Or would that introduce a race > condition between the attribute being updated, and the signal being > processed?
Sorry for the delay. I've applied the following patch: commit 77ff3fe9fb9e13ed31a3e7ea780068a26ca61bd4 Author: Richard Hughes <rich...@hughsie.com> Date: Wed Mar 30 15:09:57 2011 +0100 Add new NotifySleep() and NotifyResume() signals that include the sleep type This allows session power managers to do different actions depending on whether the user is suspending or hibernating. This allows the session policy agent to poke other things (for instance, the screensaver) even if another process initiated the sleep. This is based on a patch from Phillip Susi <ps...@cfl.rr.com>, many thanks. I've marked the Sleeping and Resuming methods as deprecated, and we can remove them when we finally release 1.0.0. Thanks for your help, Richard. _______________________________________________ devkit-devel mailing list devkit-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/devkit-devel