[yelp] Fixed wrong gsettings schema id and switched to rnds paths
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] Fixed wrong gsettings schema id and switched to rnds paths
- Date: Tue, 22 Feb 2011 01:13:23 +0000 (UTC)
commit a9619ccb4313d53888f0bf60ddda9db5a90cf682
Author: Shaun McCance <shaunm gnome org>
Date: Mon Feb 21 20:13:12 2011 -0500
Fixed wrong gsettings schema id and switched to rnds paths
data/org.gnome.yelp.gschema.xml | 2 +-
src/yelp-application.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/org.gnome.yelp.gschema.xml b/data/org.gnome.yelp.gschema.xml
index 0f325ae..0cc7dba 100644
--- a/data/org.gnome.yelp.gschema.xml
+++ b/data/org.gnome.yelp.gschema.xml
@@ -1,5 +1,5 @@
<schemalist>
-<schema id="org.gnome.yelp" path="/apps/yelp/">
+<schema id="org.gnome.yelp" path="/org/gnome/yelp/">
<key name="show-cursor" type="b">
<default>false</default>
</key>
diff --git a/src/yelp-application.c b/src/yelp-application.c
index ab6d133..dac7bf0 100644
--- a/src/yelp-application.c
+++ b/src/yelp-application.c
@@ -233,7 +233,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, "/apps/yelp/", "yelp");
+ priv->backend = g_keyfile_settings_backend_new (keyfile, "/org/gnome/yelp/", "yelp");
priv->gsettings = g_settings_new_with_backend ("org.gnome.yelp",
priv->backend);
g_free (keyfile);
@@ -575,14 +575,14 @@ application_get_doc_settings (YelpApplication *app, const gchar *doc_uri)
if (settings == NULL) {
gchar *tmp, *key, *settings_path;
tmp = g_uri_escape_string (doc_uri, "", FALSE);
- settings_path = g_strconcat ("/apps/yelp/documents/", tmp, "/", NULL);
+ settings_path = g_strconcat ("/org/gnome/yelp/documents/", tmp, "/", NULL);
g_free (tmp);
if (priv->backend)
settings = g_settings_new_with_backend_and_path ("org.gnome.yelp.documents",
priv->backend,
settings_path);
else
- settings = g_settings_new_with_path ("org.gnome.yelp.document",
+ settings = g_settings_new_with_path ("org.gnome.yelp.documents",
settings_path);
key = g_strdup (doc_uri);
g_hash_table_insert (priv->docsettings, key, settings);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]