summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zajic <zlatko@gmx.at>2011-03-14 12:52:02 -0400
committerRay Strode <rstrode@redhat.com>2011-03-14 12:52:02 -0400
commit9839f4ccc14be55d6220144c279bf63c55486626 (patch)
tree8e7b4424bcbb535aad5e2c3e8a58fc4591792019
parent9148debda9b7b4d35618d4fc2ee52c4cc07d51e7 (diff)
downloadgconf-9839f4ccc14be55d6220144c279bf63c55486626.tar.gz
daemon: don't force gconf.xml.system to live in /etc
My whole GNOME lives in /usr/local, so I get the annoying "There is a problem with your configuration server. /usr/local/libexec/gconf-sanity-check-2 has exited with code 256." popup on each and every login.
-rw-r--r--gconf/default.path.in2
-rw-r--r--gconf/gconfd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gconf/default.path.in b/gconf/default.path.in
index 0caecd3e..f03b4aa3 100644
--- a/gconf/default.path.in
+++ b/gconf/default.path.in
@@ -21,7 +21,7 @@ include "$(HOME)/.gconf.path"
xml:readwrite:$(HOME)/.gconf
# Location for system-wide settings that are set by the defaults mechanism
-xml:readonly:/etc/gconf/gconf.xml.system
+xml:readonly:@sysgconfdir@/gconf.xml.system
# To read in any defaults settings that the Sys Admin may have created
# prior to a desktop system upgrade. The SysAdmin can stick default values
diff --git a/gconf/gconfd.c b/gconf/gconfd.c
index 2827635d..b89e7a14 100644
--- a/gconf/gconfd.c
+++ b/gconf/gconfd.c
@@ -667,7 +667,7 @@ system_bus_message_handler (DBusConnection *connection,
gconf_log (GCL_DEBUG, "System defaults changed. Notifying.");
- addresses.data = "xml:merged:/etc/gconf/gconf.xml.system";
+ addresses.data = "xml:merged:" GCONF_ETCDIR "/gconf.xml.system";
addresses.next = NULL;
system_sources = gconf_sources_new_from_addresses (&addresses, NULL);