[gnome-shell/wip/fmuellner/app-menu-refinement: 206/207] 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/app-menu-refinement: 206/207] appMenu: Add heading to windows section
- Date: Wed, 17 Apr 2019 19:23:54 +0000 (UTC)
commit d4763b157df3f54c532023bc648053d42bdd2c38
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 | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index aaf9f7b99..629fc4299 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -75,6 +75,9 @@ class AppMenu extends PopupMenu.PopupMenu {
this._windowsChangedId = 0;
+ /* Translators: This is the heading of a list of open windows */
+ 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]