From f0ef6466ec0987807fcffdd41b09e88fc1292802 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 5 Sep 2012 15:07:40 +0200 Subject: convert new tab position to gsettings --- 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 5136bb2a..85eb2827 100644 --- a/libcaja-private/caja-global-preferences.c +++ b/libcaja-private/caja-global-preferences.c @@ -149,13 +149,6 @@ static EelEnumerationEntry standard_font_size_entries[] = { "24", N_("24"), 24 } }; -/* These are not translated, because the text is not used in the ui */ -static EelEnumerationEntry new_tab_position_entries[] = -{ - { "after_current_tab", "After Current Tab", CAJA_NEW_TAB_POSITION_AFTER_CURRENT_TAB }, - { "end", "End", CAJA_NEW_TAB_POSITION_END } -}; - /* * A callback which can be used to fetch dynamic fallback values. * For example, values that are dependent on the environment (such as user name) @@ -284,13 +277,6 @@ static const PreferenceDefault preference_defaults[] = NULL, NULL, NULL }, - { - CAJA_PREFERENCES_NEW_TAB_POSITION, - PREFERENCE_STRING, - "after_current_tab", - NULL, NULL, - "new_tab_position" - }, { CAJA_PREFERENCES_START_WITH_TOOLBAR, PREFERENCE_BOOLEAN, @@ -564,9 +550,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 ("new_tab_position", - new_tab_position_entries, - G_N_ELEMENTS (new_tab_position_entries)); /* Set the enumeration ids for preferences that need them */ for (i = 0; preference_defaults[i].name != NULL; i++) -- cgit v1.2.1