[gnome-settings-daemon] xsettings: Fix keynav-use-caret setting not working
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] xsettings: Fix keynav-use-caret setting not working
- Date: Sun, 17 Apr 2016 22:19:22 +0000 (UTC)
commit be6b75d88a495e972d8a8bb40e826a55430ac0a5
Author: Bastien Nocera <hadess hadess net>
Date: Mon Apr 18 00:17:32 2016 +0200
xsettings: Fix keynav-use-caret setting not working
In 54d694d, we added a mapping between a GSetting and an XSetting, but
that GSetting was in a schema that wasn't setup.
This fixes the run-time error:
WARNING **: Schemas 'org.gnome.desktop.a11y' has not been setup
plugins/xsettings/gsd-xsettings-manager.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xsettings/gsd-xsettings-manager.c b/plugins/xsettings/gsd-xsettings-manager.c
index 4138ab2..2d3d6f1 100644
--- a/plugins/xsettings/gsd-xsettings-manager.c
+++ b/plugins/xsettings/gsd-xsettings-manager.c
@@ -60,6 +60,7 @@
#define SOUND_SETTINGS_SCHEMA "org.gnome.desktop.sound"
#define PRIVACY_SETTINGS_SCHEMA "org.gnome.desktop.privacy"
#define WM_SETTINGS_SCHEMA "org.gnome.desktop.wm.preferences"
+#define A11Y_SCHEMA "org.gnome.desktop.a11y"
#define CLASSIC_WM_SETTINGS_SCHEMA "org.gnome.shell.extensions.classic-overrides"
#define XSETTINGS_PLUGIN_SCHEMA "org.gnome.settings-daemon.plugins.xsettings"
@@ -1229,6 +1230,8 @@ gnome_xsettings_manager_start (GnomeXSettingsManager *manager,
PRIVACY_SETTINGS_SCHEMA, g_settings_new (PRIVACY_SETTINGS_SCHEMA));
g_hash_table_insert (manager->priv->settings,
WM_SETTINGS_SCHEMA, g_settings_new (WM_SETTINGS_SCHEMA));
+ g_hash_table_insert (manager->priv->settings,
+ A11Y_SCHEMA, g_settings_new (A11Y_SCHEMA));
session = g_getenv ("XDG_CURRENT_DESKTOP");
if (session && strstr (session, "GNOME-Classic")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]