diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-30 12:01:17 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-30 12:01:17 +0200 |
commit | 25606b6854f478ba4a983dbda766ada095e96776 (patch) | |
tree | 9b5882694a88bde5ef5351d51863a6c194dd40f1 | |
parent | 087e04c0162af00931cd253725f9adb7096254ae (diff) | |
download | arctica-greeter-25606b6854f478ba4a983dbda766ada095e96776.tar.gz arctica-greeter-25606b6854f478ba4a983dbda766ada095e96776.tar.bz2 arctica-greeter-25606b6854f478ba4a983dbda766ada095e96776.zip |
Use ShutdownDialogType.SHUTDOWN on incoming shutdown requests. This enables Hibernate and Suspend buttons, which is nice.
-rw-r--r-- | src/arctica-greeter.vala | 2 | ||||
-rw-r--r-- | src/settings-daemon.vala | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 354333e..772f169 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -511,7 +511,7 @@ public class ArcticaGreeter { default: case 1: - dialog_type = ShutdownDialogType.LOGOUT; + dialog_type = ShutdownDialogType.SHUTDOWN; break; case 2: dialog_type = ShutdownDialogType.RESTART; diff --git a/src/settings-daemon.vala b/src/settings-daemon.vala index 93f3980..01ed225 100644 --- a/src/settings-daemon.vala +++ b/src/settings-daemon.vala @@ -74,10 +74,10 @@ public class SettingsDaemon : Object () => debug ("Failed to acquire name org.gnome.SessionManager")); /* The power plugin does the screen saver screen blanking and disables - * the builtin X screen saver. It relies on gnome-screensaver to generate - * the event to trigger this (which actually comes from gnome-session). - * We implement the gnome-screensaver inteface and start the settings - * daemon once it is registered on the bus so gnome-screensaver is not + * the builtin X screen saver. It relies on mate-screensaver to generate + * the event to trigger this (which actually comes from mate-session). + * We implement the mate-screensaver inteface and start the settings + * daemon once it is registered on the bus so mate-screensaver is not * started when it accesses this interface */ screen_saver = new ScreenSaverInterface (); n_names++; |