userMenu: Fix comment
This commit is contained in:
parent
37cbfe29cf
commit
2e2e3281da
@ -718,7 +718,7 @@ const UserMenuButton = new Lang.Class({
|
||||
|
||||
if (this._haveSuspend &&
|
||||
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._upClient.suspend_sync(null);
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user