Delete obsolete show-show-apps-button setting

This commit is contained in:
Charles Gagnon
2020-08-09 13:01:09 -04:00
parent ad833b1bb8
commit c793632b56
2 changed files with 0 additions and 26 deletions

View File

@@ -357,11 +357,6 @@
<summary>Intellihide enable start delay</summary>
<description>The delay before enabling intellihide on start</description>
</key>
<key type="b" name="show-show-apps-button">
<default>true</default>
<summary>Show applications button</summary>
<description>Show appplications button in the dash</description>
</key>
<key type="s" name="show-apps-icon-file">
<default>""</default>
<summary>Custom Show Applications icon</summary>

View File

@@ -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();