[gnome-shell] Main: close the looking glass when we don't have a run dialog



commit 5af09a60e9163d3d50db65773735acb4eb7f1b7f
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Fri Mar 8 22:59:02 2013 +0100

    Main: close the looking glass when we don't have a run dialog
    
    No run dialog means no looking glass either.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=695458

 js/ui/main.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/main.js b/js/ui/main.js
index b0a8c2d..ca4d49e 100644
--- a/js/ui/main.js
+++ b/js/ui/main.js
@@ -84,6 +84,9 @@ function _sessionUpdated() {
                                   Shell.KeyBindingMode.NORMAL |
                                   Shell.KeyBindingMode.OVERVIEW,
                                   sessionMode.hasRunDialog ? openRunDialog : null);
+
+    if (!sessionMode.hasRunDialog && lookingGlass)
+        lookingGlass.close();
 }
 
 function start() {


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