system: Replace action icons with regular menu items
Besides making the menu a bit less special, it allows us to fit both shutdown and suspend actions without any hidden alt-key Easter eggs. https://gitlab.gnome.org/GNOME/gnome-shell/issues/270
This commit is contained in:

committed by
Florian Müllner

parent
e4147f3611
commit
147a743d8d
@ -760,12 +760,13 @@ class AggregateMenu extends PanelMenu.Button {
|
||||
this.menu.addMenuItem(this._rfkill.menu);
|
||||
this.menu.addMenuItem(this._power.menu);
|
||||
this.menu.addMenuItem(this._nightLight.menu);
|
||||
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
|
||||
this.menu.addMenuItem(this._system.menu);
|
||||
|
||||
menuLayout.addSizeChild(this._location.menu.actor);
|
||||
menuLayout.addSizeChild(this._rfkill.menu.actor);
|
||||
menuLayout.addSizeChild(this._power.menu.actor);
|
||||
menuLayout.addSizeChild(this._system.buttonGroup);
|
||||
menuLayout.addSizeChild(this._system.menu.actor);
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user