[gnome-shell-extensions/no-classic-overview: 9/10] apps-menu: Hide overview when launching app



commit 545b811562e7cb2aa1e5f91f363b6e8655197e02
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Jun 7 20:07:19 2019 +0000

    apps-menu: Hide overview when launching app
    
    Now that we no longer hide the overview when the menu is opened,
    it is possible to activate menu entries from the overview. Start
    hiding the overview in that case, which is consistent with app
    launching elsewhere.
    
    https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/69

 extensions/apps-menu/extension.js | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
index 52c6839..342049c 100644
--- a/extensions/apps-menu/extension.js
+++ b/extensions/apps-menu/extension.js
@@ -67,6 +67,8 @@ class ApplicationMenuItem extends PopupMenu.PopupBaseMenuItem {
         this._button.selectCategory(null);
         this._button.menu.toggle();
         super.activate(event);
+
+        Main.overview.hide();
     }
 
     setActive(active, params) {


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