userMenu: Fix comment

This commit is contained in:
Adel Gadllah 2012-02-26 21:23:01 +01:00
parent 37cbfe29cf
commit 2e2e3281da

View File

@ -718,7 +718,7 @@ const UserMenuButton = new Lang.Class({
if (this._haveSuspend && if (this._haveSuspend &&
this._suspendOrPowerOffItem.state == PopupMenu.PopupAlternatingMenuItemState.DEFAULT) { this._suspendOrPowerOffItem.state == PopupMenu.PopupAlternatingMenuItemState.DEFAULT) {
// Ensure we only suspend after the screensaver has activated // Ensure we only suspend after locking the screen
this._screenSaverProxy.LockRemote(true, Lang.bind(this, function() { this._screenSaverProxy.LockRemote(true, Lang.bind(this, function() {
this._upClient.suspend_sync(null); this._upClient.suspend_sync(null);
})); }));