[gnome-shell] userMenu: Hide menu immediately before suspending



commit f6458f215f9dfe3410beeac2150d46ab5e17e350
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 464d8e4..8ebfef3 100644
--- a/js/ui/userMenu.js
+++ b/js/ui/userMenu.js
@@ -849,6 +849,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]