From f426641aacea9d5f7683be776536bc6301c7baef Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Thu, 6 Sep 2012 14:14:59 +0200 Subject: remove latest mateconf usage metadata saved in files instead of migrate to gsettings (caja-desktop-metadata.c is from nautilus) --- libcaja-private/caja-global-preferences.c | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'libcaja-private/caja-global-preferences.c') 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 #include -/* 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"); } -- cgit v1.2.1