diff --git a/js/extensionPrefs/main.js b/js/extensionPrefs/main.js index e77ac66ff..586bad169 100644 --- a/js/extensionPrefs/main.js +++ b/js/extensionPrefs/main.js @@ -278,7 +278,7 @@ const ExtensionRow = new Lang.Class({ this.uuid = uuid; - this._settings = new Gio.Settings({ schema: 'org.gnome.shell' }); + this._settings = new Gio.Settings({ schema_id: 'org.gnome.shell' }); this._settings.connect('changed::enabled-extensions', Lang.bind(this, function() { this._switch.state = this._isEnabled(); diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index 47410ef67..18df8f95e 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -382,7 +382,7 @@ const LoginDialog = new Lang.Class({ Lang.bind(this, this._onTimedLoginRequested)); } - this._settings = new Gio.Settings({ schema: GdmUtil.LOGIN_SCREEN_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: GdmUtil.LOGIN_SCREEN_SCHEMA }); this._settings.connect('changed::' + GdmUtil.BANNER_MESSAGE_KEY, Lang.bind(this, this._updateBanner)); diff --git a/js/gdm/util.js b/js/gdm/util.js index 678b3baa7..c9d205502 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -128,7 +128,7 @@ const ShellUserVerifier = new Lang.Class({ this._client = client; - this._settings = new Gio.Settings({ schema: LOGIN_SCREEN_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: LOGIN_SCREEN_SCHEMA }); this._settings.connect('changed', Lang.bind(this, this._updateDefaultService)); this._updateDefaultService(); diff --git a/js/ui/altTab.js b/js/ui/altTab.js index fc7a558cc..4960b55be 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -367,7 +367,7 @@ const WindowSwitcherPopup = new Lang.Class({ _init: function(items) { this.parent(items); - this._settings = new Gio.Settings({ schema: 'org.gnome.shell.window-switcher' }); + this._settings = new Gio.Settings({ schema_id: 'org.gnome.shell.window-switcher' }); }, _getWindowList: function() { @@ -456,7 +456,7 @@ const AppSwitcher = new Lang.Class({ this._arrows = []; let windowTracker = Shell.WindowTracker.get_default(); - let settings = new Gio.Settings({ schema: 'org.gnome.shell.app-switcher' }); + let settings = new Gio.Settings({ schema_id: 'org.gnome.shell.app-switcher' }); let workspace = settings.get_boolean('current-workspace-only') ? global.screen.get_active_workspace() : null; let allWindows = global.display.get_tab_list(Meta.TabList.NORMAL, workspace); diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index 2f2ad0268..d4231290e 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -371,7 +371,7 @@ const AllView = new Lang.Class({ Shell.AppSystem.get_default().connect('installed-changed', Lang.bind(this, function() { Main.queueDeferredWork(this._redisplayWorkId); })); - this._folderSettings = new Gio.Settings({ schema: 'org.gnome.desktop.app-folders' }); + this._folderSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.app-folders' }); this._folderSettings.connect('changed::folder-children', Lang.bind(this, function() { Main.queueDeferredWork(this._redisplayWorkId); })); @@ -741,7 +741,7 @@ const AppDisplay = new Lang.Class({ Name: 'AppDisplay', _init: function() { - this._privacySettings = new Gio.Settings({ schema: 'org.gnome.desktop.privacy' }); + this._privacySettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.privacy' }); this._privacySettings.connect('changed::remember-app-usage', Lang.bind(this, this._updateFrequentVisibility)); diff --git a/js/ui/background.js b/js/ui/background.js index 284c4882b..3cdc7ef37 100644 --- a/js/ui/background.js +++ b/js/ui/background.js @@ -725,7 +725,7 @@ const BackgroundManager = new Lang.Class({ controlPosition: true, settingsSchema: BACKGROUND_SCHEMA }); - this._settings = new Gio.Settings({ schema: params.settingsSchema }); + this._settings = new Gio.Settings({ schema_id: params.settingsSchema }); this._container = params.container; this._layoutManager = params.layoutManager; this._effects = params.effects; diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 438c89a5f..4453de8f6 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -383,7 +383,7 @@ const Calendar = new Lang.Class({ _init: function() { this._weekStart = Shell.util_get_week_start(); - this._settings = new Gio.Settings({ schema: 'org.gnome.shell.calendar' }); + this._settings = new Gio.Settings({ schema_id: 'org.gnome.shell.calendar' }); this._settings.connect('changed::' + SHOW_WEEKDATE_KEY, Lang.bind(this, this._onSettingsChange)); this._useWeekdate = this._settings.get_boolean(SHOW_WEEKDATE_KEY); @@ -704,7 +704,7 @@ const EventsList = new Lang.Class({ layout_manager: layout }); layout.hookup_style(this.actor); this._date = new Date(); - this._desktopSettings = new Gio.Settings({ schema: 'org.gnome.desktop.interface' }); + this._desktopSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.interface' }); this._desktopSettings.connect('changed', Lang.bind(this, this._update)); this._weekStart = Shell.util_get_week_start(); }, diff --git a/js/ui/components/automountManager.js b/js/ui/components/automountManager.js index 531d59dc9..84dc47c5f 100644 --- a/js/ui/components/automountManager.js +++ b/js/ui/components/automountManager.js @@ -23,7 +23,7 @@ const AutomountManager = new Lang.Class({ Name: 'AutomountManager', _init: function() { - this._settings = new Gio.Settings({ schema: SETTINGS_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: SETTINGS_SCHEMA }); this._volumeQueue = []; this._session = new GnomeSession.SessionManager(); this._session.connectSignal('InhibitorAdded', diff --git a/js/ui/components/autorunManager.js b/js/ui/components/autorunManager.js index 66077cbf3..8f716cced 100644 --- a/js/ui/components/autorunManager.js +++ b/js/ui/components/autorunManager.js @@ -96,7 +96,7 @@ const ContentTypeDiscoverer = new Lang.Class({ _init: function(callback) { this._callback = callback; - this._settings = new Gio.Settings({ schema: SETTINGS_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: SETTINGS_SCHEMA }); }, guessContentTypes: function(mount) { @@ -441,7 +441,7 @@ const AutorunTransientDispatcher = new Lang.Class({ _init: function(manager) { this._manager = manager; this._sources = []; - this._settings = new Gio.Settings({ schema: SETTINGS_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: SETTINGS_SCHEMA }); }, _getAutorunSettingForType: function(contentType) { diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index 63ca776fa..320eb4a14 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -946,7 +946,7 @@ const ChatNotification = new Lang.Class({ let format; - let desktopSettings = new Gio.Settings({ schema: 'org.gnome.desktop.interface' }); + let desktopSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.interface' }); let clockFormat = desktopSettings.get_string(CLOCK_FORMAT_KEY); let hasAmPm = date.toLocaleFormat('%p') != ''; diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index 62147c751..244b1d172 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -161,9 +161,9 @@ const Keyboard = new Lang.Class({ this._timestamp = global.display.get_current_time_roundtrip(); - this._keyboardSettings = new Gio.Settings({ schema: KEYBOARD_SCHEMA }); + this._keyboardSettings = new Gio.Settings({ schema_id: KEYBOARD_SCHEMA }); this._keyboardSettings.connect('changed', Lang.bind(this, this._settingsChanged)); - this._a11yApplicationsSettings = new Gio.Settings({ schema: A11Y_APPLICATIONS_SCHEMA }); + this._a11yApplicationsSettings = new Gio.Settings({ schema_id: A11Y_APPLICATIONS_SCHEMA }); this._a11yApplicationsSettings.connect('changed', Lang.bind(this, this._settingsChanged)); this._settingsChanged(); diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index a39d713a7..eb837d89c 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -797,7 +797,7 @@ const LookingGlass = new Lang.Class({ reactive: true }); this.actor.connect('key-press-event', Lang.bind(this, this._globalKeyPressEvent)); - this._interfaceSettings = new Gio.Settings({ schema: 'org.gnome.desktop.interface' }); + this._interfaceSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.interface' }); this._interfaceSettings.connect('changed::monospace-font-name', Lang.bind(this, this._updateFont)); this._updateFont(); diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index 6493aff70..ccbf8cda4 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -441,8 +441,8 @@ const Magnifier = new Lang.Class({ }, _settingsInit: function(zoomRegion) { - this._appSettings = new Gio.Settings({ schema: APPLICATIONS_SCHEMA }); - this._settings = new Gio.Settings({ schema: MAGNIFIER_SCHEMA }); + this._appSettings = new Gio.Settings({ schema_id: APPLICATIONS_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: MAGNIFIER_SCHEMA }); if (zoomRegion) { // Mag factor is accurate to two decimal places. diff --git a/js/ui/main.js b/js/ui/main.js index 6218f33d5..e4872500a 100644 --- a/js/ui/main.js +++ b/js/ui/main.js @@ -160,7 +160,7 @@ function _initializeUI() { layoutManager.init(); overview.init(); - _a11ySettings = new Gio.Settings({ schema: A11Y_SCHEMA }); + _a11ySettings = new Gio.Settings({ schema_id: A11Y_SCHEMA }); global.display.connect('overlay-key', Lang.bind(overview, function () { if (!_a11ySettings.get_boolean (STICKY_KEYS_ENABLE)) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 770d46bdf..92135f980 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -315,7 +315,7 @@ const NotificationGenericPolicy = new Lang.Class({ this.id = 'generic'; - this._masterSettings = new Gio.Settings({ schema: 'org.gnome.desktop.notifications' }); + this._masterSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.notifications' }); this._masterSettings.connect('changed', Lang.bind(this, this._changed)); }, @@ -365,8 +365,8 @@ const NotificationApplicationPolicy = new Lang.Class({ this.id = id; this._canonicalId = this._canonicalizeId(id); - this._masterSettings = new Gio.Settings({ schema: 'org.gnome.desktop.notifications' }); - this._settings = new Gio.Settings({ schema: 'org.gnome.desktop.notifications.application', + this._masterSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.notifications' }); + this._settings = new Gio.Settings({ schema_id: 'org.gnome.desktop.notifications.application', path: '/org/gnome/desktop/notifications/application/' + this._canonicalId + '/' }); this._masterSettings.connect('changed', Lang.bind(this, this._changed)); @@ -1900,14 +1900,14 @@ const MessageTray = new Lang.Class({ Main.sessionMode.connect('updated', Lang.bind(this, this._sessionUpdated)); Main.wm.addKeybinding('toggle-message-tray', - new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }), + new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }), Meta.KeyBindingFlags.NONE, Shell.KeyBindingMode.NORMAL | Shell.KeyBindingMode.MESSAGE_TRAY | Shell.KeyBindingMode.OVERVIEW, Lang.bind(this, this.toggleAndNavigate)); Main.wm.addKeybinding('focus-active-notification', - new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }), + new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }), Meta.KeyBindingFlags.NONE, Shell.KeyBindingMode.NORMAL | Shell.KeyBindingMode.MESSAGE_TRAY | diff --git a/js/ui/remoteSearch.js b/js/ui/remoteSearch.js index 26017018a..8781de893 100644 --- a/js/ui/remoteSearch.js +++ b/js/ui/remoteSearch.js @@ -117,7 +117,7 @@ function loadRemoteSearchProviders(callback) { } } - let searchSettings = new Gio.Settings({ schema: Search.SEARCH_PROVIDERS_SCHEMA }); + let searchSettings = new Gio.Settings({ schema_id: Search.SEARCH_PROVIDERS_SCHEMA }); if (searchSettings.get_boolean('disable-external')) { callback([]); return; diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js index 10cae4c36..faf16891d 100644 --- a/js/ui/runDialog.js +++ b/js/ui/runDialog.js @@ -38,8 +38,8 @@ const RunDialog = new Lang.Class({ this.parent({ styleClass: 'run-dialog', destroyOnClose: false }); - this._lockdownSettings = new Gio.Settings({ schema: LOCKDOWN_SCHEMA }); - this._terminalSettings = new Gio.Settings({ schema: TERMINAL_SCHEMA }); + this._lockdownSettings = new Gio.Settings({ schema_id: LOCKDOWN_SCHEMA }); + this._terminalSettings = new Gio.Settings({ schema_id: TERMINAL_SCHEMA }); global.settings.connect('changed::development-tools', Lang.bind(this, function () { this._enableInternalCommands = global.settings.get_boolean('development-tools'); })); diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index 020984683..fe00c2ddc 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -563,7 +563,7 @@ const ScreenShield = new Lang.Class({ this._loginSession.connectSignal('Unlock', Lang.bind(this, function() { this.deactivate(false); })); })); - this._settings = new Gio.Settings({ schema: SCREENSAVER_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: SCREENSAVER_SCHEMA }); this._isModal = false; this._hasLockScreen = false; diff --git a/js/ui/search.js b/js/ui/search.js index 3797b7421..9a58e7981 100644 --- a/js/ui/search.js +++ b/js/ui/search.js @@ -31,7 +31,7 @@ const SearchSystem = new Lang.Class({ this._registerProvider(new AppDisplay.AppSearchProvider()); - this._searchSettings = new Gio.Settings({ schema: SEARCH_PROVIDERS_SCHEMA }); + this._searchSettings = new Gio.Settings({ schema_id: SEARCH_PROVIDERS_SCHEMA }); this._searchSettings.connect('changed::disabled', Lang.bind(this, this._reloadRemoteProviders)); this._searchSettings.connect('changed::disable-external', Lang.bind(this, this._reloadRemoteProviders)); this._searchSettings.connect('changed::sort-order', Lang.bind(this, this._reloadRemoteProviders)); diff --git a/js/ui/status/accessibility.js b/js/ui/status/accessibility.js index efcb65267..5047a2863 100644 --- a/js/ui/status/accessibility.js +++ b/js/ui/status/accessibility.js @@ -48,7 +48,7 @@ const ATIndicator = new Lang.Class({ this.actor.add_child(this._hbox); - this._a11ySettings = new Gio.Settings({ schema: A11Y_SCHEMA }); + this._a11ySettings = new Gio.Settings({ schema_id: A11Y_SCHEMA }); this._a11ySettings.connect('changed::' + KEY_ALWAYS_SHOW, Lang.bind(this, this._queueSyncMenuVisibility)); let highContrast = this._buildHCItem(); @@ -118,7 +118,7 @@ const ATIndicator = new Lang.Class({ }, _buildItem: function(string, schema, key) { - let settings = new Gio.Settings({ schema: schema }); + let settings = new Gio.Settings({ schema_id: schema }); let widget = this._buildItemExtended(string, settings.get_boolean(key), settings.is_writable(key), @@ -134,8 +134,8 @@ const ATIndicator = new Lang.Class({ }, _buildHCItem: function() { - let interfaceSettings = new Gio.Settings({ schema: DESKTOP_INTERFACE_SCHEMA }); - let wmSettings = new Gio.Settings({ schema: WM_SCHEMA }); + let interfaceSettings = new Gio.Settings({ schema_id: DESKTOP_INTERFACE_SCHEMA }); + let wmSettings = new Gio.Settings({ schema_id: WM_SCHEMA }); let gtkTheme = interfaceSettings.get_string(KEY_GTK_THEME); let iconTheme = interfaceSettings.get_string(KEY_ICON_THEME); let wmTheme = wmSettings.get_string(KEY_WM_THEME); @@ -186,7 +186,7 @@ const ATIndicator = new Lang.Class({ }, _buildFontItem: function() { - let settings = new Gio.Settings({ schema: DESKTOP_INTERFACE_SCHEMA }); + let settings = new Gio.Settings({ schema_id: DESKTOP_INTERFACE_SCHEMA }); let factor = settings.get_double(KEY_TEXT_SCALING_FACTOR); let initial_setting = (factor > 1.0); diff --git a/js/ui/status/keyboard.js b/js/ui/status/keyboard.js index fc37ba077..e4bd2107c 100644 --- a/js/ui/status/keyboard.js +++ b/js/ui/status/keyboard.js @@ -365,18 +365,18 @@ const InputSourceIndicator = new Lang.Class({ this._mruSources = []; this._keybindingAction = Main.wm.addKeybinding('switch-input-source', - new Gio.Settings({ schema: "org.gnome.desktop.wm.keybindings" }), + new Gio.Settings({ schema_id: "org.gnome.desktop.wm.keybindings" }), Meta.KeyBindingFlags.REVERSES, Shell.KeyBindingMode.ALL, Lang.bind(this, this._switchInputSource)); this._keybindingActionBackward = Main.wm.addKeybinding('switch-input-source-backward', - new Gio.Settings({ schema: "org.gnome.desktop.wm.keybindings" }), + new Gio.Settings({ schema_id: "org.gnome.desktop.wm.keybindings" }), Meta.KeyBindingFlags.REVERSES | Meta.KeyBindingFlags.IS_REVERSED, Shell.KeyBindingMode.ALL, Lang.bind(this, this._switchInputSource)); - this._settings = new Gio.Settings({ schema: DESKTOP_INPUT_SOURCES_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: DESKTOP_INPUT_SOURCES_SCHEMA }); this._settings.connect('changed::' + KEY_CURRENT_INPUT_SOURCE, Lang.bind(this, this._currentInputSourceChanged)); this._settings.connect('changed::' + KEY_INPUT_SOURCES, Lang.bind(this, this._inputSourcesChanged)); diff --git a/js/ui/status/location.js b/js/ui/status/location.js index 581a53440..15b5f80cb 100644 --- a/js/ui/status/location.js +++ b/js/ui/status/location.js @@ -43,7 +43,7 @@ const Indicator = new Lang.Class({ _init: function() { this.parent(); - this._settings = new Gio.Settings({ schema: LOCATION_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: LOCATION_SCHEMA }); this._settings.connect('changed::' + MAX_ACCURACY_LEVEL, Lang.bind(this, this._onMaxAccuracyLevelChanged)); diff --git a/js/ui/status/system.js b/js/ui/status/system.js index b36c9d18a..51b511841 100644 --- a/js/ui/status/system.js +++ b/js/ui/status/system.js @@ -95,11 +95,11 @@ const Indicator = new Lang.Class({ _init: function() { this.parent(); - this._screenSaverSettings = new Gio.Settings({ schema: SCREENSAVER_SCHEMA }); - this._loginScreenSettings = new Gio.Settings({ schema: LOGIN_SCREEN_SCHEMA }); - this._lockdownSettings = new Gio.Settings({ schema: LOCKDOWN_SCHEMA }); - this._privacySettings = new Gio.Settings({ schema: PRIVACY_SCHEMA }); - this._orientationSettings = new Gio.Settings({ schema: 'org.gnome.settings-daemon.peripherals.touchscreen' }); + this._screenSaverSettings = new Gio.Settings({ schema_id: SCREENSAVER_SCHEMA }); + this._loginScreenSettings = new Gio.Settings({ schema_id: LOGIN_SCREEN_SCHEMA }); + this._lockdownSettings = new Gio.Settings({ schema_id: LOCKDOWN_SCHEMA }); + this._privacySettings = new Gio.Settings({ schema_id: PRIVACY_SCHEMA }); + this._orientationSettings = new Gio.Settings({ schema_id: 'org.gnome.settings-daemon.peripherals.touchscreen' }); this._session = new GnomeSession.SessionManager(); this._loginManager = LoginManager.getLoginManager(); diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index 06966a30f..a7f2c6f4b 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -62,7 +62,7 @@ const UnlockDialog = new Lang.Class({ this.allowCancel = false; - let screenSaverSettings = new Gio.Settings({ schema: 'org.gnome.desktop.screensaver' }); + let screenSaverSettings = new Gio.Settings({ schema_id: 'org.gnome.desktop.screensaver' }); if (screenSaverSettings.get_boolean('user-switch-enabled')) { let otherUserLabel = new St.Label({ text: _("Log in as another user"), style_class: 'login-dialog-not-listed-label' }); diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index bc157dcdb..550510b06 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -132,14 +132,14 @@ const ViewSelector = new Lang.Class({ })); Main.wm.addKeybinding('toggle-application-view', - new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }), + new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }), Meta.KeyBindingFlags.NONE, Shell.KeyBindingMode.NORMAL | Shell.KeyBindingMode.OVERVIEW, Lang.bind(this, this._toggleAppsPage)); Main.wm.addKeybinding('toggle-overview', - new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }), + new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }), Meta.KeyBindingFlags.NONE, Shell.KeyBindingMode.NORMAL | Shell.KeyBindingMode.OVERVIEW, diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index c2a2d133f..bca0466c0 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -209,7 +209,7 @@ const WorkspaceTracker = new Lang.Class({ let settings = global.get_overrides_settings(); if (settings.list_keys().indexOf('dynamic-workspaces') > -1) return settings; - return new Gio.Settings({ schema: 'org.gnome.mutter' }); + return new Gio.Settings({ schema_id: 'org.gnome.mutter' }); }, _checkWorkspaces: function() { @@ -655,13 +655,13 @@ const WindowManager = new Lang.Class({ Lang.bind(this, this._startA11ySwitcher)); this.addKeybinding('pause-resume-tweens', - new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }), + new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }), Meta.KeyBindingFlags.NONE, Shell.KeyBindingMode.ALL, Lang.bind(this, this._toggleTweens)); this.addKeybinding('open-application-menu', - new Gio.Settings({ schema: SHELL_KEYBINDINGS_SCHEMA }), + new Gio.Settings({ schema_id: SHELL_KEYBINDINGS_SCHEMA }), Meta.KeyBindingFlags.NONE, Shell.KeyBindingMode.NORMAL | Shell.KeyBindingMode.TOPBAR_POPUP, diff --git a/js/ui/workspaceThumbnail.js b/js/ui/workspaceThumbnail.js index b1bc7cb49..14091a557 100644 --- a/js/ui/workspaceThumbnail.js +++ b/js/ui/workspaceThumbnail.js @@ -665,7 +665,7 @@ const ThumbnailsBox = new Lang.Class({ Main.overview.connect('window-drag-cancelled', Lang.bind(this, this._onDragCancelled)); - this._settings = new Gio.Settings({ schema: OVERRIDE_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: OVERRIDE_SCHEMA }); this._settings.connect('changed::dynamic-workspaces', Lang.bind(this, this._updateSwitcherVisibility)); }, diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index 59e968275..5af58981d 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -94,7 +94,7 @@ const WorkspacesView = new Lang.Class({ this._scrolling = false; // swipe-scrolling this._animatingScroll = false; // programatically updating the adjustment - this._settings = new Gio.Settings({ schema: OVERRIDE_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: OVERRIDE_SCHEMA }); let activeWorkspaceIndex = global.screen.get_active_workspace_index(); this.scrollAdjustment = new St.Adjustment({ value: activeWorkspaceIndex, @@ -429,7 +429,7 @@ const WorkspacesDisplay = new Lang.Class({ this._workspacesViews = []; this._primaryScrollAdjustment = null; - this._settings = new Gio.Settings({ schema: OVERRIDE_SCHEMA }); + this._settings = new Gio.Settings({ schema_id: OVERRIDE_SCHEMA }); this._settings.connect('changed::workspaces-only-on-primary', Lang.bind(this, this._workspacesOnlyOnPrimaryChanged));