summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@gnome-db.org>2010-11-04 18:32:22 +0100
committerRodrigo Moya <rodrigo@gnome-db.org>2010-11-04 18:32:22 +0100
commit7004dce9b430069ec96f307b84dc5d9289e3c29c (patch)
treeaf1f6b742bb8eac59273e360e74a001be6c34ce6
parent4935b7caa493a8ce5f9e6504e55a52343cefd61e (diff)
downloadgnome-settings-daemon-7004dce9b430069ec96f307b84dc5d9289e3c29c.tar.gz
xrdb: Use for .ad files, since they are settings
-rw-r--r--plugins/xrdb/Makefile.am2
-rw-r--r--plugins/xrdb/data/Makefile.am2
-rw-r--r--plugins/xrdb/gsd-xrdb-manager.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/xrdb/Makefile.am b/plugins/xrdb/Makefile.am
index 6984da1d..d9515ff1 100644
--- a/plugins/xrdb/Makefile.am
+++ b/plugins/xrdb/Makefile.am
@@ -17,7 +17,7 @@ libxrdb_la_SOURCES = \
libxrdb_la_CPPFLAGS = \
-I$(top_srcdir)/gnome-settings-daemon \
- -DDATADIR=\""$(pkgdatadir)"\" \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
-DGNOME_SETTINGS_LOCALEDIR=\""$(datadir)/locale"\" \
$(AM_CPPFLAGS)
diff --git a/plugins/xrdb/data/Makefile.am b/plugins/xrdb/data/Makefile.am
index e133b9bc..26ff90f4 100644
--- a/plugins/xrdb/data/Makefile.am
+++ b/plugins/xrdb/data/Makefile.am
@@ -1,6 +1,6 @@
NULL =
-xrdbdir = $(pkgdatadir)/xrdb
+xrdbdir = $(sysconfdir)/xrdb
xrdb_DATA = \
General.ad \
Editres.ad \
diff --git a/plugins/xrdb/gsd-xrdb-manager.c b/plugins/xrdb/gsd-xrdb-manager.c
index be5697e4..84faea66 100644
--- a/plugins/xrdb/gsd-xrdb-manager.c
+++ b/plugins/xrdb/gsd-xrdb-manager.c
@@ -42,7 +42,7 @@
#define GSD_XRDB_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GSD_TYPE_XRDB_MANAGER, GsdXrdbManagerPrivate))
-#define SYSTEM_AD_DIR DATADIR "/xrdb"
+#define SYSTEM_AD_DIR SYSCONFDIR "/xrdb"
#define GENERAL_AD SYSTEM_AD_DIR "/General.ad"
#define USER_AD_DIR ".gnome2/xrdb"
#define USER_X_RESOURCES ".Xresources"