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:
parent
add6dfe2e4
commit
ec0d8e3a72
@ -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', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user