diff options
-rw-r--r-- | libcaja-private/caja-global-preferences.c | 5 | ||||
-rw-r--r-- | libcaja-private/caja-global-preferences.h | 2 | ||||
-rw-r--r-- | src/caja-main.c | 2 |
3 files changed, 2 insertions, 7 deletions
diff --git a/libcaja-private/caja-global-preferences.c b/libcaja-private/caja-global-preferences.c index 85eb2827..c690c61f 100644 --- a/libcaja-private/caja-global-preferences.c +++ b/libcaja-private/caja-global-preferences.c @@ -209,11 +209,6 @@ typedef struct static const PreferenceDefault preference_defaults[] = { { - CAJA_PREFERENCES_EXIT_WITH_LAST_WINDOW, - PREFERENCE_BOOLEAN, - GINT_TO_POINTER (TRUE) - }, - { CAJA_PREFERENCES_SHOW_TEXT_IN_ICONS, PREFERENCE_STRING, "local_only", diff --git a/libcaja-private/caja-global-preferences.h b/libcaja-private/caja-global-preferences.h index 82cb033e..ef4ae2ba 100644 --- a/libcaja-private/caja-global-preferences.h +++ b/libcaja-private/caja-global-preferences.h @@ -32,7 +32,7 @@ G_BEGIN_DECLS /* Whether exit when last window destroyed */ -#define CAJA_PREFERENCES_EXIT_WITH_LAST_WINDOW "preferences/exit_with_last_window" +#define CAJA_PREFERENCES_EXIT_WITH_LAST_WINDOW "exit-with-last-window" /* Desktop Background options */ #define CAJA_PREFERENCES_BACKGROUND_SET "background-set" diff --git a/src/caja-main.c b/src/caja-main.c index 52b208b9..ef5714b2 100644 --- a/src/caja-main.c +++ b/src/caja-main.c @@ -494,7 +494,7 @@ main (int argc, char *argv[]) caja_global_preferences_init (); /* exit_with_last_window being FALSE, caja can run without window. */ - exit_with_last_window = eel_preferences_get_boolean (CAJA_PREFERENCES_EXIT_WITH_LAST_WINDOW); + exit_with_last_window = g_settings_get_boolean (caja_preferences, CAJA_PREFERENCES_EXIT_WITH_LAST_WINDOW); application = NULL; |