From c793632b567d5f96ee8291caecb8aaac09f6f968 Mon Sep 17 00:00:00 2001 From: Charles Gagnon Date: Sun, 9 Aug 2020 13:01:09 -0400 Subject: [PATCH] Delete obsolete show-show-apps-button setting --- ...shell.extensions.dash-to-panel.gschema.xml | 5 ----- taskbar.js | 21 ------------------- 2 files changed, 26 deletions(-) diff --git a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml index ba7d1f2..5cf666d 100644 --- a/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml +++ b/schemas/org.gnome.shell.extensions.dash-to-panel.gschema.xml @@ -357,11 +357,6 @@ Intellihide enable start delay The delay before enabling intellihide on start - - true - Show applications button - Show appplications button in the dash - "" Custom Show Applications icon diff --git a/taskbar.js b/taskbar.js index 2133198..43b9712 100644 --- a/taskbar.js +++ b/taskbar.js @@ -228,9 +228,6 @@ var taskbar = Utils.defineClass({ this.previewMenu = new WindowPreview.PreviewMenu(panel); this.previewMenu.enable(); - if (!Me.settings.get_boolean('show-show-apps-button')) - this.hideShowAppsButton(); - let rtl = Clutter.get_default_text_direction() == Clutter.TextDirection.RTL; this.actor = new St.Bin({ child: this._container, y_align: St.Align.START, x_align:rtl?St.Align.END:St.Align.START @@ -311,18 +308,6 @@ var taskbar = Utils.defineClass({ 'notify::checked', Lang.bind(this, this._syncShowAppsButtonToggled) ], - [ - Me.settings, - 'changed::show-show-apps-button', - Lang.bind(this, function() { - if (Me.settings.get_boolean('show-show-apps-button')) - this.showShowAppsButton(); - else - this.hideShowAppsButton(); - - this.resetAppIcons(); - }) - ], [ Me.settings, [ @@ -1212,12 +1197,6 @@ var taskbar = Utils.defineClass({ this.showAppsButton.set_height(-1); }, - hideShowAppsButton: function() { - this.showAppsButton.hide(); - this.showAppsButton.set_width(0); - this.showAppsButton.set_height(0); - }, - popupFocusedAppSecondaryMenu: function() { let appIcons = this._getAppIcons(); let tracker = Shell.WindowTracker.get_default();