From ec0d8e3a722509620bd4e04df4af2f8eb26dd8b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 1 Feb 2021 12:16:44 +0100 Subject: [PATCH] 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: --- .../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 fd84782a8..5d9753efc 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', () => {