power: Move the Power Off indicator to the power menu
It's only supposed to show if we have a battery, and hooking into the power system is the easiest way of making that happen. https://bugzilla.gnome.org/show_bug.cgi?id=705845
This commit is contained in:
@ -858,9 +858,8 @@ const AggregateMenu = new Lang.Class({
|
||||
|
||||
this._indicators.add_child(this._network.indicators);
|
||||
this._indicators.add_child(this._bluetooth.indicators);
|
||||
this._indicators.add_child(this._power.indicators);
|
||||
this._indicators.add_child(this._volume.indicators);
|
||||
this._indicators.add_child(this._system.indicators);
|
||||
this._indicators.add_child(this._power.indicators);
|
||||
this._indicators.add_child(new St.Label({ text: '\u25BE',
|
||||
y_expand: true,
|
||||
y_align: Clutter.ActorAlign.CENTER }));
|
||||
|
Reference in New Issue
Block a user