Updating multi-monitors-add-on to version 26 [d8ea040].
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
7037664800
commit
9040b41006
2 changed files with 12 additions and 9 deletions
|
@ -65,7 +65,7 @@ class MultiMonitorsAddOn {
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this._settings = Convenience.getSettings();
|
this._settings = Convenience.getSettings();
|
||||||
this._ov_settings = new Gio.Settings({ schema: OVERRIDE_SCHEMA });
|
// this._ov_settings = new Gio.Settings({ schema: OVERRIDE_SCHEMA });
|
||||||
this._mu_settings = new Gio.Settings({ schema: MUTTER_SCHEMA });
|
this._mu_settings = new Gio.Settings({ schema: MUTTER_SCHEMA });
|
||||||
|
|
||||||
this.mmIndicator = null;
|
this.mmIndicator = null;
|
||||||
|
@ -100,8 +100,8 @@ class MultiMonitorsAddOn {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this._ov_settings.get_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID))
|
// if(this._ov_settings.get_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID))
|
||||||
this._ov_settings.set_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID, false);
|
// this._ov_settings.set_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID, false);
|
||||||
if(this._mu_settings.get_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID))
|
if(this._mu_settings.get_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID))
|
||||||
this._mu_settings.set_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID, false);
|
this._mu_settings.set_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID, false);
|
||||||
|
|
||||||
|
@ -174,7 +174,10 @@ class MultiMonitorsAddOn {
|
||||||
}
|
}
|
||||||
|
|
||||||
_switchOffThumbnails() {
|
_switchOffThumbnails() {
|
||||||
if (this._ov_settings.get_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID) || this._mu_settings.get_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID)) {
|
if (
|
||||||
|
// this._ov_settings.get_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID) ||
|
||||||
|
this._mu_settings.get_boolean(WORKSPACES_ONLY_ON_PRIMARY_ID))
|
||||||
|
{
|
||||||
this._settings.set_string(THUMBNAILS_SLIDER_POSITION_ID, 'none');
|
this._settings.set_string(THUMBNAILS_SLIDER_POSITION_ID, 'none');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -187,8 +190,8 @@ class MultiMonitorsAddOn {
|
||||||
|
|
||||||
this._mmMonitors = 0;
|
this._mmMonitors = 0;
|
||||||
|
|
||||||
this._switchOffThumbnailsOvId = this._ov_settings.connect('changed::'+WORKSPACES_ONLY_ON_PRIMARY_ID,
|
// this._switchOffThumbnailsOvId = this._ov_settings.connect('changed::'+WORKSPACES_ONLY_ON_PRIMARY_ID,
|
||||||
this._switchOffThumbnails.bind(this));
|
// this._switchOffThumbnails.bind(this));
|
||||||
this._switchOffThumbnailsMuId = this._mu_settings.connect('changed::'+WORKSPACES_ONLY_ON_PRIMARY_ID,
|
this._switchOffThumbnailsMuId = this._mu_settings.connect('changed::'+WORKSPACES_ONLY_ON_PRIMARY_ID,
|
||||||
this._switchOffThumbnails.bind(this));
|
this._switchOffThumbnails.bind(this));
|
||||||
|
|
||||||
|
@ -206,7 +209,7 @@ class MultiMonitorsAddOn {
|
||||||
|
|
||||||
disable() {
|
disable() {
|
||||||
Main.layoutManager.disconnect(this._relayoutId);
|
Main.layoutManager.disconnect(this._relayoutId);
|
||||||
this._ov_settings.disconnect(this._switchOffThumbnailsOvId);
|
// this._ov_settings.disconnect(this._switchOffThumbnailsOvId);
|
||||||
this._mu_settings.disconnect(this._switchOffThumbnailsMuId);
|
this._mu_settings.disconnect(this._switchOffThumbnailsMuId);
|
||||||
|
|
||||||
this._settings.disconnect(this._showPanelId);
|
this._settings.disconnect(this._showPanelId);
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"shell-version": ["40", "41", "42", "43"],
|
"shell-version": ["40", "41", "42", "43", "44"],
|
||||||
"uuid": "multi-monitors-add-on@spin83",
|
"uuid": "multi-monitors-add-on@spin83",
|
||||||
"name": "Multi Monitors Add-On",
|
"name": "Multi Monitors Add-On",
|
||||||
"settings-schema": "org.gnome.shell.extensions.multi-monitors-add-on",
|
"settings-schema": "org.gnome.shell.extensions.multi-monitors-add-on",
|
||||||
"gettext-domain": "multi-monitors-add-on",
|
"gettext-domain": "multi-monitors-add-on",
|
||||||
"description": "Add multiple monitors overview and panel for gnome-shell.",
|
"description": "Add multiple monitors overview and panel for gnome-shell.",
|
||||||
"url": "https://github.com/spin83/multi-monitors-add-on.git",
|
"url": "https://github.com/spin83/multi-monitors-add-on.git",
|
||||||
"version": 25
|
"version": 26
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue