[yelp] [yelp-application] Fix broken gsettings keyfile setup
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] [yelp-application] Fix broken gsettings keyfile setup
- Date: Fri, 2 Jul 2010 15:27:33 +0000 (UTC)
commit cce4fc14d1ad9c21a993d94d36fe9cc24bc0db0a
Author: Shaun McCance <shaunm gnome org>
Date: Fri Jul 2 11:26:24 2010 -0400
[yelp-application] Fix broken gsettings keyfile setup
1) The root path must end with a "/".
2) The root path was /org/gnome/yelp, but the schema is /apps/yelp
src/yelp-application.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/yelp-application.c b/src/yelp-application.c
index 3c8436d..9a9c621 100644
--- a/src/yelp-application.c
+++ b/src/yelp-application.c
@@ -224,7 +224,7 @@ application_setup (YelpApplication *app)
gchar *keyfile = g_build_filename (g_get_user_config_dir (),
"yelp", "yelp.cfg",
NULL);
- priv->backend = g_keyfile_settings_backend_new (keyfile, "/org/gnome/yelp", NULL);
+ priv->backend = g_keyfile_settings_backend_new (keyfile, "/apps/yelp/", "yelp");
priv->gsettings = g_settings_new_with_backend ("org.gnome.yelp",
priv->backend);
g_free (keyfile);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]