gnome-shell | 3.10.4 |
файл | /usr/share/gnome-shell/js/ui/status/system.js |
this._suspendAction = this._createActionButton('media-playback-pause-symbolic', _("Suspend"));
this._suspendAction.connect('clicked', Lang.bind(this, this._onSuspendClicked));
this._powerOffAction = this._createActionButton('system-shutdown-symbolic', _("Power Off"));
this._powerOffAction.connect('clicked', Lang.bind(this, this._onPowerOffClicked));
this._altSwitcher = new AltSwitcher(this._powerOffAction, this._suspendAction);
- item.actor.add(this._altSwitcher.actor, { expand: true, x_fill: false });
+ item.actor.add(this._powerOffAction, { expand: true, x_fill: false });