summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-07-10 18:06:35 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-07-10 18:06:35 +0800
commitc44e0d994c867b36ce526999399f797c14ddf521 (patch)
tree256b031843437fece4863d06527d4ea938785e55 /src
parent72bb9129806fe80cb52b1fe28df692185658b0f6 (diff)
downloadcompizconfig-backend-gsettings-c44e0d994c867b36ce526999399f797c14ddf521.tar.gz
compizconfig-backend-gsettings-c44e0d994c867b36ce526999399f797c14ddf521.tar.bz2
Start the transition to GSettings, use the gconf backend for now
Diffstat (limited to 'src')
-rw-r--r--src/gsettings.c (renamed from src/gconf.c)8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gconf.c b/src/gsettings.c
index fbdcebb..7d595a5 100644
--- a/src/gconf.c
+++ b/src/gsettings.c
@@ -1927,6 +1927,8 @@ initBackend (CCSContext * context)
{
g_type_init ();
+ g_setenv ("GSETTINGS_BACKEND", "gconf", FALSE);
+
conf = gconf_engine_get_default ();
initClient (context);
@@ -2080,9 +2082,9 @@ deleteProfile (CCSContext *context,
}
static CCSBackendVTable gconfVTable = {
- "gconf",
- "GConf Configuration Backend",
- "GConf Configuration Backend for libccs",
+ "gsettings",
+ "GSettings Configuration Backend",
+ "GSettings Configuration Backend for libccs",
TRUE,
TRUE,
processEvents,