summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-global-preferences.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-06 14:14:59 +0200
committerStefano Karapetsas <[email protected]>2012-09-06 14:14:59 +0200
commitf426641aacea9d5f7683be776536bc6301c7baef (patch)
treed19911212091bfcadf2a976d219aca093ef0606f /libcaja-private/caja-global-preferences.c
parent465e6ae56a2a81cd346d573532dc4a39c16df225 (diff)
downloadcaja-f426641aacea9d5f7683be776536bc6301c7baef.tar.bz2
caja-f426641aacea9d5f7683be776536bc6301c7baef.tar.xz
remove latest mateconf usage
metadata saved in files instead of migrate to gsettings (caja-desktop-metadata.c is from nautilus)
Diffstat (limited to 'libcaja-private/caja-global-preferences.c')
-rw-r--r--libcaja-private/caja-global-preferences.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/libcaja-private/caja-global-preferences.c b/libcaja-private/caja-global-preferences.c
index 58afa365..f66dc95f 100644
--- a/libcaja-private/caja-global-preferences.c
+++ b/libcaja-private/caja-global-preferences.c
@@ -34,12 +34,6 @@
#include <eel/eel-string.h>
#include <glib/gi18n.h>
-/* Path for mate-vfs preferences */
-static const char *EXTRA_MONITOR_PATHS[] = {
- "/desktop/mate/lockdown",
- NULL
- };
-
/*
* Public functions
*/
@@ -90,15 +84,6 @@ caja_global_preferences_init (void)
caja_tree_sidebar_preferences = g_settings_new("org.mate.caja.sidebar-panels.tree");
caja_list_view_preferences = g_settings_new("org.mate.caja.list-view");
- mate_lockdown_preferences = g_settings_new("org.mate.desktop.lockdown");
-
- caja_mateconf_client = mateconf_client_get_default ();
-
- /* Add monitors for any other MateConf paths we have keys in */
- for (i=0; EXTRA_MONITOR_PATHS[i] != NULL; i++) {
- mateconf_client_add_dir (caja_mateconf_client,
- EXTRA_MONITOR_PATHS[i],
- MATECONF_CLIENT_PRELOAD_ONELEVEL,
- NULL);
- }
+ mate_background_preferences = g_settings_new("org.mate.background");
+ mate_lockdown_preferences = g_settings_new("org.mate.lockdown");
}