[gnome-shell/wip/fmuellner/ci-test] appMenu: Add heading to windows section
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/ci-test] appMenu: Add heading to windows section
- Date: Tue, 12 Feb 2019 19:38:59 +0000 (UTC)
commit 229fa3fd763f6c413deceffb01d2c91d110f3e8c
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Feb 11 19:55:42 2019 +0100
appMenu: Add heading to windows section
It may not be immediately obvious that the windows section is a
list of open application windows, as titles like "Downloads" can
easily be confused with an action. Add a section heading to avoid
confusion.
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 0fbf51546..074f5d13e 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -75,6 +75,8 @@ class AppMenu extends PopupMenu.PopupMenu {
this._windowsChangedId = 0;
+ this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem(_("Open Windows")));
+
this._windowSection = new PopupMenu.PopupMenuSection();
this.addMenuItem(this._windowSection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]