On Wed, 2006-05-31 at 23:01 +0100, Richard Hughes wrote: > The GNOME Screensaver DBUS API > ------------------------------
... > Name: setActive > Args: DBUS_TYPE_BOOLEAN state > state: TRUE to request activation, > FALSE to request deactivation > Returns: (nothing) > Description: Request a change in the state of the screensaver. > Set to TRUE to request that the screensaver activate. > Active means that the screensaver has blanked the > screen and may run a graphical theme. This does > not necessary mean that the screen is locked. > > Name: getActive > Args: (none) > Returns: DBUS_TYPE_BOOLEAN > Descriptions: Returns the value of the current state of activity. > See setActive(). > I recently, while fixing a bug for SLED10, came to the need to know if the screen was locked or not, so what about changing these get/setActive to get/setStatus, and return things like STATUS_ACTIVE, STATUS_LOCKED, etc? -- Rodrigo Moya <[EMAIL PROTECTED]> _______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
