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>
This commit is contained in:
Florian Müllner 2021-02-01 12:16:44 +01:00 committed by Marge Bot
parent add6dfe2e4
commit ec0d8e3a72

View File

@ -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', () => {