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:
Gert Michael Kulyk 2012-02-28 16:41:34 +01:00 committed by Adel Gadllah
parent 319667a25c
commit 1f9c83d88b

View File

@ -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 {