[gnome-shell] userMenu: Close menu immediately on user/session switch



commit 3429fc3e4cc5833fbe59b6e7143b0ff6c5b97e1a
Author: Florian MÃllner <fmuellner gnome org>
Date:   Thu Sep 20 23:18:51 2012 +0200

    userMenu: Close menu immediately on user/session switch
    
    The same reasoning as for commit 1f30670c1d8d8 also applies to
    VT switches.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684459

 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 3d6e340..0a3192d 100644
--- a/js/ui/userMenu.js
+++ b/js/ui/userMenu.js
@@ -820,6 +820,7 @@ const UserMenuButton = new Lang.Class({
     },
 
     _onLoginScreenActivate: function() {
+        this.menu.close(BoxPointer.PopupAnimation.NONE);
         Main.overview.hide();
         if (this._screenSaverSettings.get_boolean(LOCK_ENABLED_KEY))
             Main.screenShield.lock(false);



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