[gnome-shell/gnome-3-6] userMenu: Hide menu immediately before suspending
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-6] userMenu: Hide menu immediately before suspending
- Date: Fri, 19 Oct 2012 17:11:10 +0000 (UTC)
commit 87504ea720624995f5f127e1b500e09c69ddebc8
Author: Florian MÃllner <fmuellner gnome org>
Date: Fri Oct 19 18:52:34 2012 +0200
userMenu: Hide menu immediately before suspending
The same logic as for commit 1f30670c1d8d8 applies to the case
where we lock the screen before suspending - we don't want the
menu to jump to the opposite screen side to fade out, so remove
the animation altogether.
https://bugzilla.gnome.org/show_bug.cgi?id=686484
js/ui/userMenu.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js
index 6eb445f..eb6b1e3 100644
--- a/js/ui/userMenu.js
+++ b/js/ui/userMenu.js
@@ -854,6 +854,7 @@ const UserMenuButton = new Lang.Class({
this._upClient.suspend_sync(null);
}));
+ this.menu.close(BoxPointer.PopupAnimation.NONE);
Main.screenShield.lock(true);
} else {
this._upClient.suspend_sync(null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]