[gnome-shell-extensions/wip/rstrode/heads-up-display: 21/62] apps-menu: Stop hiding the overview when toggled




commit e1898f6a46551a1f45b8df2f551cf30c1d663db6
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Jun 7 14:30:16 2019 +0000

    apps-menu: Stop hiding the overview when toggled
    
    Now that the extension no longer doubles as the "Activities" button,
    that behavior is confusing.
    
    https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/69

 extensions/apps-menu/extension.js | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
index 865a87e..1e2882b 100644
--- a/extensions/apps-menu/extension.js
+++ b/extensions/apps-menu/extension.js
@@ -220,12 +220,8 @@ class ApplicationsMenu extends PopupMenu.PopupMenu {
     }
 
     toggle() {
-        if (this.isOpen) {
+        if (this.isOpen)
             this._button.selectCategory(null);
-        } else {
-            if (Main.overview.visible)
-                Main.overview.hide();
-        }
         super.toggle();
     }
 }


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