summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--gconf/gconftool.c5
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index edd18b36..eb53a4f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2004-08-30 Mark McLoughlin <mark@skynet.ie>
+ Fix problem with schemas install. Bug #151334.
+
+ * gconf/gconftool.c: (process_locale_info): install the
+ global default in the C locale only.
+
+2004-08-30 Mark McLoughlin <mark@skynet.ie>
+
Lots of debugging info from Mickey Stein <yekkim@pacbell.net>
narrowed this one down in bug #150779.
diff --git a/gconf/gconftool.c b/gconf/gconftool.c
index 675f90ab..ae59751c 100644
--- a/gconf/gconftool.c
+++ b/gconf/gconftool.c
@@ -3275,7 +3275,9 @@ process_locale_info(xmlNodePtr node, SchemaInfo* info)
gconf_schema_set_locale(schema, name);
- xmlFree(name);
+ /* Only set the global default on the C locale */
+ if (strcmp(name, "C") == 0 && info->global_default != NULL)
+ gconf_schema_set_default_value(schema, info->global_default);
/* Fill in the global info */
if (info->type != GCONF_VALUE_INVALID)
@@ -3293,6 +3295,7 @@ process_locale_info(xmlNodePtr node, SchemaInfo* info)
if (info->owner != NULL)
gconf_schema_set_owner(schema, info->owner);
+ xmlFree(name);
/* Locale-specific info */
iter = node->xmlChildrenNode;