From d4763b157df3f54c532023bc648053d42bdd2c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 11 Feb 2019 19:55:42 +0100 Subject: [PATCH] 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);