userMenu: Fix LockRemote call
Commit 37cbfe29
replace the SetActiveRemote with a LockRemote call but didn't
change the paramters, so remove the incorrect boolean parameter.
https://bugzilla.gnome.org/show_bug.cgi?id=670820
This commit is contained in:
parent
319667a25c
commit
1f9c83d88b
@ -729,7 +729,7 @@ const UserMenuButton = new Lang.Class({
|
||||
if (this._haveSuspend &&
|
||||
this._suspendOrPowerOffItem.state == PopupMenu.PopupAlternatingMenuItemState.DEFAULT) {
|
||||
// Ensure we only suspend after locking the screen
|
||||
this._screenSaverProxy.LockRemote(true, Lang.bind(this, function() {
|
||||
this._screenSaverProxy.LockRemote(Lang.bind(this, function() {
|
||||
this._upClient.suspend_sync(null);
|
||||
}));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user