Fix enable/disable on ubuntu

This commit is contained in:
Charles Gagnon
2018-10-10 08:08:04 -04:00
parent 6fc02fdb74
commit 117d0b7d41
2 changed files with 1 additions and 4 deletions

View File

@@ -101,7 +101,7 @@ function _enable() {
}
function disable(reset) {
panelManager.disable();
panelManager.disable(reset);
settings.run_dispose();
Main.overview._dash = oldDash;

View File

@@ -872,7 +872,6 @@ var dtpSecondaryAggregateMenu = new Lang.Class({
this._bluetooth = null;
}
this._remoteAccess = new imports.ui.status.remoteAccess.RemoteAccessApplet();
this._power = new imports.ui.status.power.Indicator();
this._volume = new imports.ui.status.volume.Indicator();
this._brightness = new imports.ui.status.brightness.Indicator();
@@ -890,7 +889,6 @@ var dtpSecondaryAggregateMenu = new Lang.Class({
if (this._bluetooth) {
this._indicators.add_child(this._bluetooth.indicators);
}
this._indicators.add_child(this._remoteAccess.indicators);
this._indicators.add_child(this._volume.indicators);
this._indicators.add_child(this._power.indicators);
this._indicators.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
@@ -904,7 +902,6 @@ var dtpSecondaryAggregateMenu = new Lang.Class({
if (this._bluetooth) {
this.menu.addMenuItem(this._bluetooth.menu);
}
this.menu.addMenuItem(this._remoteAccess.menu);
this.menu.addMenuItem(this._power.menu);
this.menu.addMenuItem(this._nightLight.menu);
this.menu.addMenuItem(this._system.menu);