diff src/main.c @ 556:fe675761d091

Replace Layout icon_view field by more generic file_view_type. Replace option layout.view_as_icons by layout.file_view_type.
author zas_
date Sat, 03 May 2008 11:34:13 +0000
parents f9bf33be53ff
children 9dc0513837b5
line wrap: on
line diff
--- a/src/main.c	Sat May 03 10:31:37 2008 +0000
+++ b/src/main.c	Sat May 03 11:34:13 2008 +0000
@@ -1214,7 +1214,7 @@
 
 	layout_geometry_get_dividers(NULL, &options->layout.main_window.hdivider_pos, &options->layout.main_window.vdivider_pos);
 
-	layout_views_get(NULL, &options->layout.dir_view_type, &options->layout.view_as_icons);
+	layout_views_get(NULL, &options->layout.dir_view_type, &options->layout.file_view_type);
 
 	options->layout.show_thumbnails = layout_thumb_get(NULL);
 	options->layout.show_marks = layout_marks_get(NULL);