Use new name of gnome-session quit helper process

Changed names from gnome-session-save to gnome-session-quit.
This commit is contained in:
William Jon McCann 2011-02-24 17:58:05 -05:00
parent 15ec185be5
commit be775b9206

View File

@ -194,7 +194,7 @@ StatusMenuButton.prototype = {
_onQuitSessionActivate: function() { _onQuitSessionActivate: function() {
Main.overview.hide(); Main.overview.hide();
Util.spawn(['gnome-session-save', '--logout-dialog']); Util.spawn(['gnome-session-quit', '--logout']);
}, },
_onSuspendOrPowerOffActivate: function() { _onSuspendOrPowerOffActivate: function() {
@ -204,7 +204,7 @@ StatusMenuButton.prototype = {
this._suspendOrPowerOffItem.state == PopupMenu.PopupAlternatingMenuItemState.DEFAULT) { this._suspendOrPowerOffItem.state == PopupMenu.PopupAlternatingMenuItemState.DEFAULT) {
this._upClient.suspend_sync(null); this._upClient.suspend_sync(null);
} else { } else {
Util.spawn(['gnome-session-save', '--shutdown-dialog']); Util.spawn(['gnome-session-quit', '--power-off']);
} }
} }
}; };