summaryrefslogtreecommitdiff
path: root/src/caja-file-management-properties.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-09-05 16:41:03 +0200
committerStefano Karapetsas <[email protected]>2012-09-05 16:41:03 +0200
commitbd2d552864805962945aee83d4591019dbffaebc (patch)
tree8c4be2ed697c7b8ea1c3174b61b08507e52faae7 /src/caja-file-management-properties.c
parent463bd5ef2cbba8d6c3c84a610d26fb5e427c6cab (diff)
downloadcaja-bd2d552864805962945aee83d4591019dbffaebc.tar.bz2
caja-bd2d552864805962945aee83d4591019dbffaebc.tar.xz
convert default-folder-view to gsettings
Diffstat (limited to 'src/caja-file-management-properties.c')
-rw-r--r--src/caja-file-management-properties.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c
index 66a0c72d..8bf337d2 100644
--- a/src/caja-file-management-properties.c
+++ b/src/caja-file-management-properties.c
@@ -76,9 +76,9 @@
static const char * const default_view_values[] =
{
- "icon_view",
- "list_view",
- "compact_view",
+ "icon-view",
+ "list-view",
+ "compact-view",
NULL
};
@@ -935,10 +935,10 @@ caja_file_management_properties_dialog_setup (GtkBuilder *builder, GtkWindow *wi
CAJA_FILE_MANAGEMENT_PROPERTIES_TREE_VIEW_FOLDERS_WIDGET,
CAJA_PREFERENCES_TREE_SHOW_ONLY_DIRECTORIES);
- eel_preferences_builder_connect_string_enum_combo_box (builder,
- CAJA_FILE_MANAGEMENT_PROPERTIES_DEFAULT_VIEW_WIDGET,
- CAJA_PREFERENCES_DEFAULT_FOLDER_VIEWER,
- (const char **) default_view_values);
+ bind_builder_enum (builder, caja_preferences,
+ CAJA_FILE_MANAGEMENT_PROPERTIES_DEFAULT_VIEW_WIDGET,
+ CAJA_PREFERENCES_DEFAULT_FOLDER_VIEWER,
+ (const char **) default_view_values);
eel_preferences_builder_connect_string_enum_combo_box (builder,
CAJA_FILE_MANAGEMENT_PROPERTIES_ICON_VIEW_ZOOM_WIDGET,
CAJA_PREFERENCES_ICON_VIEW_DEFAULT_ZOOM_LEVEL,