From 8e8764286d4a3f65839dfdd4019b4f22fe3eabe4 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 5 Sep 2012 14:00:24 +0200 Subject: convert date-format to gsettings add eel_g_settings_add_auto_enum in eel/eel-glib-extensions.c --- libcaja-private/caja-global-preferences.c | 17 ----------------- 1 file changed, 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 e9f4f255..703a4c29 100644 --- a/libcaja-private/caja-global-preferences.c +++ b/libcaja-private/caja-global-preferences.c @@ -183,13 +183,6 @@ static EelEnumerationEntry standard_font_size_entries[] = }; /* These are not translated, because the text is not used in the ui */ -static EelEnumerationEntry date_format_entries[] = -{ - { "locale", "Locale Default", CAJA_DATE_FORMAT_LOCALE }, - { "iso", "ISO Format", CAJA_DATE_FORMAT_ISO }, - { "informal", "Informal", CAJA_DATE_FORMAT_INFORMAL } -}; - static EelEnumerationEntry new_tab_position_entries[] = { { "after_current_tab", "After Current Tab", CAJA_NEW_TAB_POSITION_AFTER_CURRENT_TAB }, @@ -390,13 +383,6 @@ static const PreferenceDefault preference_defaults[] = PREFERENCE_BOOLEAN, GINT_TO_POINTER (TRUE) }, - { - CAJA_PREFERENCES_DATE_FORMAT, - PREFERENCE_STRING, - "locale", - NULL, NULL, - "date_format" - }, { CAJA_PREFERENCES_DEFAULT_FOLDER_VIEWER, PREFERENCE_INTEGER, @@ -651,9 +637,6 @@ global_preferences_register_enumerations (void) eel_enumeration_register ("standard_font_size", standard_font_size_entries, G_N_ELEMENTS (standard_font_size_entries)); - eel_enumeration_register ("date_format", - date_format_entries, - G_N_ELEMENTS (date_format_entries)); eel_enumeration_register ("new_tab_position", new_tab_position_entries, G_N_ELEMENTS (new_tab_position_entries)); -- cgit v1.2.1