[gnumeric] Conf: handle absolute keys.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Conf: handle absolute keys.
- Date: Tue, 1 Mar 2011 18:07:53 +0000 (UTC)
commit b580559fd62808b237f2fe2e5303be0f88bbae60
Author: Morten Welinder <terra gnome org>
Date: Tue Mar 1 13:07:38 2011 -0500
Conf: handle absolute keys.
ChangeLog | 5 +++++
src/gnumeric-gconf.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 3d695d3..fe886cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-01 Morten Welinder <terra gnome org>
+
+ * src/gnumeric-gconf.c (get_node): Handle absolute keys, assuming
+ goffice handles them.
+
2011-02-26 Morten Welinder <terra gnome org>
* src/value.c (value_new_cellrange_parsepos_str): Constify.
diff --git a/src/gnumeric-gconf.c b/src/gnumeric-gconf.c
index 457f359..9267f83 100644
--- a/src/gnumeric-gconf.c
+++ b/src/gnumeric-gconf.c
@@ -100,7 +100,7 @@ get_node (const char *key)
{
GOConfNode *res = g_hash_table_lookup (node_pool, key);
if (!res) {
- res = go_conf_get_node (root, key);
+ res = go_conf_get_node (key[0] == '/' ? NULL : root, key);
g_hash_table_insert (node_pool, (gpointer)key, res);
}
return res;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]