diff options
author | Brian Tarricone <brian@tarricone.org> | 2008-11-01 09:57:43 +0000 |
---|---|---|
committer | Brian Tarricone <brian@tarricone.org> | 2008-11-01 09:57:43 +0000 |
commit | 68037214df18138ff59480fc7cc37babb306cc97 (patch) | |
tree | 795ead8f2ee4a02a38c86fb63880008c7a229584 /xfce4-session-logout | |
parent | 20223b2e101803a7041bceaf3d388e66139e98c2 (diff) | |
download | xfce4-session-68037214df18138ff59480fc7cc37babb306cc97.tar.gz |
* *: Implement suspend/hibernate support using HAL. Partial patch
from Michael Casadevall.
* xfce4-session/shutdown.c: Add buttons for suspend/hibernate.
* xfce4-session/xfsm-manager.c: Handle suspend and hibernate as
initiated from the dialog or over dbus. Don't quit the SM
after a successful suspend/hibernate. Show errors to the user
via dialog boxes rather than printfs to console.
* xfce4-session/xfsm-shutdown-helper.[ch]: Call HAL Suspend and
Hibernate methods as appropriate. Add a ton of error reporting
so callers can present hopefully-useful error messages to the
user.
* icons/48x48/xfsm-{hibernate,suspend}.png: Add icons for the
suspend/hibernate buttons in the UI.
(Old svn revision: 28552)
Diffstat (limited to 'xfce4-session-logout')
-rw-r--r-- | xfce4-session-logout/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfce4-session-logout/main.c b/xfce4-session-logout/main.c index 7f6eb2f1..56123809 100644 --- a/xfce4-session-logout/main.c +++ b/xfce4-session-logout/main.c @@ -51,7 +51,7 @@ typedef enum XFSM_SHUTDOWN_HALT, XFSM_SHUTDOWN_REBOOT, XFSM_SHUTDOWN_SUSPEND, - XFSM_SHUTDOWN_HIBERNATE, + XFSM_SHUTDOWN_HIBERNATE, } XfsmShutdownType; |