summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-global-preferences.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 15:07:40 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 15:07:40 +0200
commitf0ef6466ec0987807fcffdd41b09e88fc1292802 (patch)
treeb8e0590ff10422b92989deff306e2c559c1077ba /libcaja-private/caja-global-preferences.c
parentab3a27b67b830897c49ecf395ee5e63e4dfdfc26 (diff)
downloadcaja-f0ef6466ec0987807fcffdd41b09e88fc1292802.tar.bz2
caja-f0ef6466ec0987807fcffdd41b09e88fc1292802.tar.xz
convert new tab position to gsettings
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 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)
@@ -285,13 +278,6 @@ static const PreferenceDefault preference_defaults[] =
NULL
},
{
- CAJA_PREFERENCES_NEW_TAB_POSITION,
- PREFERENCE_STRING,
- "after_current_tab",
- NULL, NULL,
- "new_tab_position"
- },
- {
CAJA_PREFERENCES_START_WITH_TOOLBAR,
PREFERENCE_BOOLEAN,
GINT_TO_POINTER (TRUE)
@@ -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++)