[gnome-shell/wip/fmuellner/app-menu-refinement: 1/3] appMenu: Add separator between "Details" and "Quit"



commit cb42953cf16895cd5f391e1bbe19970576c1bcec
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Feb 11 19:50:37 2019 +0100

    appMenu: Add separator between "Details" and "Quit"
    
    The two actions are sufficiently different to warrant their own
    groups.
    
    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 f32e7f218..346a89a9e 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -105,6 +105,8 @@ class AppMenu extends PopupMenu.PopupMenu {
             });
         });
 
+        this.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
+
         this.addAction(_("Quit"), () => {
             this._app.request_quit();
         });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]