summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-global-preferences.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 14:00:24 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 14:00:24 +0200
commit8e8764286d4a3f65839dfdd4019b4f22fe3eabe4 (patch)
tree5578c080dc56f6698edd565b9313c8d3ce334838 /libcaja-private/caja-global-preferences.c
parentcf3e02237f89593e6e03065ced3af2835e915ee0 (diff)
downloadcaja-8e8764286d4a3f65839dfdd4019b4f22fe3eabe4.tar.bz2
caja-8e8764286d4a3f65839dfdd4019b4f22fe3eabe4.tar.xz
convert date-format to gsettings
add eel_g_settings_add_auto_enum in eel/eel-glib-extensions.c
Diffstat (limited to 'libcaja-private/caja-global-preferences.c')
-rw-r--r--libcaja-private/caja-global-preferences.c17
1 files changed, 0 insertions, 17 deletions
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 },
@@ -391,13 +384,6 @@ static const PreferenceDefault preference_defaults[] =
GINT_TO_POINTER (TRUE)
},
{
- CAJA_PREFERENCES_DATE_FORMAT,
- PREFERENCE_STRING,
- "locale",
- NULL, NULL,
- "date_format"
- },
- {
CAJA_PREFERENCES_DEFAULT_FOLDER_VIEWER,
PREFERENCE_INTEGER,
GINT_TO_POINTER (CAJA_DEFAULT_FOLDER_VIEWER_ICON_VIEW),
@@ -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));