[gnome-shell] userMenu: Fix LockRemote call



commit 1f9c83d88b9238eefa930d8d5badf7e44365796b
Author: Gert Michael Kulyk <gkulyk klio>
Date:   Tue Feb 28 16:41:34 2012 +0100

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js
index f9c2b46..db67212 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 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]