mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
workspaces: Use correct schema for workspace settings
The custom overrides system is gone, we need to use the original mutter schema. https://gitlab.gnome.org/GNOME/gnome-shell/issues/768
This commit is contained in:
parent
127ba318fd
commit
f1195ecb01
2 changed files with 4 additions and 4 deletions
|
|
@ -24,7 +24,7 @@ var AnimationType = {
|
|||
FADE: 1
|
||||
};
|
||||
|
||||
const OVERRIDE_SCHEMA = 'org.gnome.shell.overrides';
|
||||
const MUTTER_SCHEMA = 'org.gnome.mutter';
|
||||
|
||||
var WorkspacesViewBase = new Lang.Class({
|
||||
Name: 'WorkspacesViewBase',
|
||||
|
|
@ -473,7 +473,7 @@ var WorkspacesDisplay = new Lang.Class({
|
|||
this._workspacesViews = [];
|
||||
this._primaryScrollAdjustment = null;
|
||||
|
||||
this._settings = new Gio.Settings({ schema_id: OVERRIDE_SCHEMA });
|
||||
this._settings = new Gio.Settings({ schema_id: MUTTER_SCHEMA });
|
||||
this._settings.connect('changed::workspaces-only-on-primary',
|
||||
this._workspacesOnlyOnPrimaryChanged.bind(this));
|
||||
this._workspacesOnlyOnPrimaryChanged();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue