summaryrefslogtreecommitdiff
path: root/libnautilus-private/nautilus-global-preferences.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-07-22 18:28:07 +0200
committerAlexander Larsson <alexl@redhat.com>2010-07-23 12:22:55 +0200
commit75ade49a17470a86354eb8b591212d512c2ab08b (patch)
treea6e259b6bc57fc5aba17e590a1dda7b969bc59b1 /libnautilus-private/nautilus-global-preferences.c
parentbcf929af833a83aba7ab58b7ae85697a288d006d (diff)
downloadnautilus-75ade49a17470a86354eb8b591212d512c2ab08b.tar.gz
Convert preview settings to gsettings
Diffstat (limited to 'libnautilus-private/nautilus-global-preferences.c')
-rw-r--r--libnautilus-private/nautilus-global-preferences.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/libnautilus-private/nautilus-global-preferences.c b/libnautilus-private/nautilus-global-preferences.c
index d822aada0..4dbb9a3b6 100644
--- a/libnautilus-private/nautilus-global-preferences.c
+++ b/libnautilus-private/nautilus-global-preferences.c
@@ -63,13 +63,6 @@ typedef enum
PREFERENCE_STRING_ARRAY
} PreferenceType;
-/* Enumerations used to qualify some INTEGER preferences */
-static EelEnumerationEntry speed_tradeoff_enum_entries[] = {
- { "always", N_("_Always"), NAUTILUS_SPEED_TRADEOFF_ALWAYS },
- { "local_only", N_("_Local File Only"), NAUTILUS_SPEED_TRADEOFF_LOCAL_ONLY },
- { "never", N_("_Never"), NAUTILUS_SPEED_TRADEOFF_NEVER }
-};
-
static EelEnumerationEntry default_zoom_level_enum_entries[] = {
/* xgettext:no-c-format */
{ "smallest", N_("25%"), NAUTILUS_ZOOM_LEVEL_SMALLEST },
@@ -185,24 +178,6 @@ static const PreferenceDefault preference_defaults[] = {
* for FTP. If we make this fast enough for FTP in particular,
* we should change this default to ALWAYS.
*/
- { NAUTILUS_PREFERENCES_SHOW_IMAGE_FILE_THUMBNAILS,
- PREFERENCE_STRING,
- "local_only",
- NULL, NULL,
- "speed_tradeoff"
- },
- { NAUTILUS_PREFERENCES_IMAGE_FILE_THUMBNAIL_LIMIT,
- PREFERENCE_INTEGER,
- GINT_TO_POINTER(10485760),
- NULL, NULL,
- "file_size"
- },
- { NAUTILUS_PREFERENCES_PREVIEW_SOUND,
- PREFERENCE_STRING,
- "local_only",
- NULL, NULL,
- "speed_tradeoff"
- },
{ NAUTILUS_PREFERENCES_ICON_VIEW_CAPTIONS,
PREFERENCE_STRING_ARRAY,
"size,date_modified,type",
@@ -404,9 +379,6 @@ global_preferences_register_enumerations (void)
eel_enumeration_register ("file_size",
file_size_enum_entries,
G_N_ELEMENTS (file_size_enum_entries));
- eel_enumeration_register ("speed_tradeoff",
- speed_tradeoff_enum_entries,
- G_N_ELEMENTS (speed_tradeoff_enum_entries));
eel_enumeration_register ("standard_font_size",
standard_font_size_entries,
G_N_ELEMENTS (standard_font_size_entries));