summaryrefslogtreecommitdiff
path: root/src/caja-file-management-properties.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 16:48:07 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 16:48:07 +0200
commit46925062b04255e723ff931ac82aefda9cfc516d (patch)
treefa84d02512e584fdbf73f34d5d1ea999cefa169f /src/caja-file-management-properties.c
parentf0ca3e5a0329fa0c4a2fe5b6b941e660b547e113 (diff)
downloadcaja-46925062b04255e723ff931ac82aefda9cfc516d.tar.bz2
caja-46925062b04255e723ff931ac82aefda9cfc516d.tar.xz
convert show-text-in-icons to gsettings
Diffstat (limited to 'src/caja-file-management-properties.c')
-rw-r--r--src/caja-file-management-properties.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c
index 8bf337d2..f9e82af6 100644
--- a/src/caja-file-management-properties.c
+++ b/src/caja-file-management-properties.c
@@ -115,7 +115,7 @@ static const char * const date_format_values[] =
static const char * const preview_values[] =
{
"always",
- "local_only",
+ "local-only",
"never",
NULL
};
@@ -958,10 +958,10 @@ caja_file_management_properties_dialog_setup (GtkBuilder *builder, GtkWindow *wi
eel_preferences_builder_connect_string_enum_combo_box_slave (builder,
CAJA_FILE_MANAGEMENT_PROPERTIES_SORT_ORDER_WIDGET,
CAJA_PREFERENCES_LIST_VIEW_DEFAULT_SORT_ORDER);
- eel_preferences_builder_connect_string_enum_combo_box (builder,
- CAJA_FILE_MANAGEMENT_PROPERTIES_PREVIEW_TEXT_WIDGET,
- CAJA_PREFERENCES_SHOW_TEXT_IN_ICONS,
- (const char **) preview_values);
+ bind_builder_enum (builder, caja_preferences,
+ CAJA_FILE_MANAGEMENT_PROPERTIES_PREVIEW_TEXT_WIDGET,
+ CAJA_PREFERENCES_SHOW_TEXT_IN_ICONS,
+ (const char **) preview_values);
eel_preferences_builder_connect_string_enum_combo_box (builder,
CAJA_FILE_MANAGEMENT_PROPERTIES_PREVIEW_IMAGE_WIDGET,
CAJA_PREFERENCES_SHOW_IMAGE_FILE_THUMBNAILS,