[gnome-shell/wip/fmuellner/app-menu-refinement: 9/10] appMenu: Add heading to windows section



commit 9ac21385b170b99e7a14a5d4c2ac1b8b54fae9c9
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 0fbf51546..e2c144134 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]