From 1f9c83d88b9238eefa930d8d5badf7e44365796b Mon Sep 17 00:00:00 2001 From: Gert Michael Kulyk Date: Tue, 28 Feb 2012 16:41:34 +0100 Subject: [PATCH] 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 --- js/ui/userMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index f9c2b4666..db6721233 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -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 {