[gnome-shell-extensions/no-classic-overview: 4/5] apps-menu: Hide overview when launching app
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions/no-classic-overview: 4/5] apps-menu: Hide overview when launching app
- Date: Wed, 12 Jun 2019 16:21:08 +0000 (UTC)
commit 5b45042fb9f176def9e0cab41a70ede7d8f012d8
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 a6730e9..9c812d3 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]