Remove deprecated getShowAppsButton hookup

This commit is contained in:
Charles Gagnon
2022-04-07 16:38:44 -04:00
parent 7d99c507a2
commit d9e701649d

View File

@@ -147,8 +147,6 @@ var PanelManager = class {
this._oldUpdateWorkspacesViews = Main.overview._overview._controls._workspacesDisplay._updateWorkspacesViews;
Main.overview._overview._controls._workspacesDisplay._updateWorkspacesViews = this._newUpdateWorkspacesViews.bind(Main.overview._overview._controls._workspacesDisplay);
Main.overview.getShowAppsButton = this._newGetShowAppsButton.bind(this);
LookingGlass.LookingGlass.prototype._oldResize = LookingGlass.LookingGlass.prototype._resize;
LookingGlass.LookingGlass.prototype._resize = _newLookingGlassResize;
@@ -480,11 +478,6 @@ var PanelManager = class {
});
}
_newGetShowAppsButton() {
let focusedMonitorIndex = Utils.findIndex(this.allPanels, p => this.checkIfFocusedMonitor(p.monitor));
return this.allPanels[focusedMonitorIndex].taskbar.showAppsButton;
}
};
// No idea why atm, but we need the import at the top of this file and this