[gnome-shell/wip/fmuellner/app-menu-refinement: 7/10] appMenu: Add separator between "Details" and "Quit"
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/app-menu-refinement: 7/10] appMenu: Add separator between "Details" and "Quit"
- Date: Wed, 13 Feb 2019 19:10:45 +0000 (UTC)
commit 7acc969b0d9369701bc375ebb53b761b9a1a47bb
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Feb 11 19:50:37 2019 +0100
appMenu: Add separator between "Details" and "Quit"
The two actions are sufficiently different to warrant their own
groups.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/968
js/ui/panel.js | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index f32e7f218..346a89a9e 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -105,6 +105,8 @@ class AppMenu extends PopupMenu.PopupMenu {
});
});
+ this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
+
this.addAction(_("Quit"), () => {
this._app.request_quit();
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]