mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Delete obsolete show-show-apps-button setting
This commit is contained in:
@@ -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>
|
||||
|
||||
21
taskbar.js
21
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();
|
||||
|
||||
Reference in New Issue
Block a user