[gnome-shell-extensions/no-classic-overview: 8/10] apps-menu: Stop hiding the overview when toggled



commit d99d0a06bd34d1845dd924ea8db8b454d37278b5
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 c4d6275..52c6839 100644
--- a/extensions/apps-menu/extension.js
+++ b/extensions/apps-menu/extension.js
@@ -219,12 +219,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]