[gnome-shell] [AppIcon] Leave overview when launching apps



commit 0a566f70b6db38fcd54953c57b3d012e5445b178
Author: Colin Walters <walters verbum org>
Date:   Mon Jan 25 14:13:21 2010 -0500

    [AppIcon] Leave overview when launching apps
    
    There was an unintentional regression at some point where we ceased
    leaving the overview when launching applications.  Fix this.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=608062

 js/ui/appDisplay.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index b9ba04f..1763be8 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -475,11 +475,13 @@ AppWellIcon.prototype = {
 
         if (!running) {
             this.app.launch();
+            Main.overview.hide();
         } else {
             let modifiers = Shell.get_event_state(event);
 
             if (modifiers & Clutter.ModifierType.CONTROL_MASK) {
                 this.app.launch();
+                Main.overview.hide();
             } else {
                 this.activateMostRecentWindow();
             }



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