[gnome-shell/wip/fmuellner/ci-test] appMenu: Add heading to windows section



commit 5b8225523a1cbd72fb1d65f0333416b6593ea3a8
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]