diff options
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-global-preferences.c | 2 | ||||
-rw-r--r-- | libcaja-private/caja-global-preferences.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/libcaja-private/caja-global-preferences.c b/libcaja-private/caja-global-preferences.c index 4d82e6df..31c86589 100644 --- a/libcaja-private/caja-global-preferences.c +++ b/libcaja-private/caja-global-preferences.c @@ -91,6 +91,8 @@ 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 */ diff --git a/libcaja-private/caja-global-preferences.h b/libcaja-private/caja-global-preferences.h index efcbbb7e..6ef7f372 100644 --- a/libcaja-private/caja-global-preferences.h +++ b/libcaja-private/caja-global-preferences.h @@ -206,8 +206,7 @@ G_BEGIN_DECLS #define CAJA_PREFERENCES_DESKTOP_NETWORK_NAME "network-icon-name" /* Lockdown */ -#define CAJA_PREFERENCES_LOCKDOWN_COMMAND_LINE "/desktop/mate/lockdown/disable_command_line" -#define CAJA_MATECONF_LOCKDOWN_COMMAND_LINE "/desktop/mate/lockdown/disable_command_line" +#define CAJA_PREFERENCES_LOCKDOWN_COMMAND_LINE "disable-command-line" void caja_global_preferences_init (void); @@ -222,6 +221,8 @@ GSettings *caja_tree_sidebar_preferences; GSettings *caja_compact_view_preferences; GSettings *caja_list_view_preferences; +GSettings *mate_lockdown_preferences; + MateConfClient *caja_mateconf_client; G_END_DECLS |