From d9e701649dfa51a3dde44febb2d5368ae3eb5c77 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Thu, 7 Apr 2022 16:38:44 -0400 Subject: [PATCH] Remove deprecated getShowAppsButton hookup --- panelManager.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/panelManager.js b/panelManager.js index d923518..d793e4e 100755 --- a/panelManager.js +++ b/panelManager.js @@ -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