[gnome-shell] Fix screen locking on suspend from user menu
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Fix screen locking on suspend from user menu
- Date: Sun, 26 Feb 2012 20:14:42 +0000 (UTC)
commit 37cbfe29cf1d107cfeb6847cdf0efc7e95ca42b8
Author: David Foerster <malteworld web de>
Date: Sun Feb 26 20:45:47 2012 +0100
Fix screen locking on suspend from user menu
Lock the session instead of activating the screensaver
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 6c7de8e..12e49d4 100644
--- a/js/ui/userMenu.js
+++ b/js/ui/userMenu.js
@@ -719,7 +719,7 @@ const UserMenuButton = new Lang.Class({
if (this._haveSuspend &&
this._suspendOrPowerOffItem.state == PopupMenu.PopupAlternatingMenuItemState.DEFAULT) {
// Ensure we only suspend after the screensaver has activated
- this._screenSaverProxy.SetActiveRemote(true, Lang.bind(this, function() {
+ this._screenSaverProxy.LockRemote(true, Lang.bind(this, function() {
this._upClient.suspend_sync(null);
}));
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]