[gnome-shell] extensions-tool: Remove menu arrow from extension template



commit ec0d8e3a722509620bd4e04df4af2f8eb26dd8b8
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Feb 1 12:16:44 2021 +0100

    extensions-tool: Remove menu arrow from extension template
    
    We stopped putting arrows into the top bar, so we shouldn't encourage
    new extensions to still do that.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1618>

 subprojects/extensions-tool/src/templates/indicator/extension.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/subprojects/extensions-tool/src/templates/indicator/extension.js 
b/subprojects/extensions-tool/src/templates/indicator/extension.js
index fd84782a86..5d9753efc4 100644
--- a/subprojects/extensions-tool/src/templates/indicator/extension.js
+++ b/subprojects/extensions-tool/src/templates/indicator/extension.js
@@ -35,13 +35,10 @@ class Indicator extends PanelMenu.Button {
     _init() {
         super._init(0.0, _('My Shiny Indicator'));
 
-        let box = new St.BoxLayout({ style_class: 'panel-status-menu-box' });
-        box.add_child(new St.Icon({
+        this.add_child(new St.Icon({
             icon_name: 'face-smile-symbolic',
             style_class: 'system-status-icon',
         }));
-        box.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
-        this.add_child(box);
 
         let item = new PopupMenu.PopupMenuItem(_('Show Notification'));
         item.connect('activate', () => {


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