changeset 166:4d14387b7bb7

preserve marks setting on layout change
author nadvornik
date Sat, 22 Dec 2007 10:10:40 +0000
parents d7067ec71042
children 05bf5d364dba
files src/layout.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/layout.c	Sat Dec 22 09:51:12 2007 +0000
+++ b/src/layout.c	Sat Dec 22 10:10:40 2007 +0000
@@ -748,6 +748,7 @@
 
 		vficon_set_status_func(lw->vfi, layout_icon_status_cb, lw);
 		vficon_set_thumb_status_func(lw->vfi, layout_icon_thumb_cb, lw);
+		/* FIXME vficon_marks_set(lw->vfi, lw->marks_enabled); */
 
 		return lw->vfi->widget;
 		}
@@ -758,6 +759,8 @@
 	vflist_set_status_func(lw->vfl, layout_list_status_cb, lw);
 	vflist_set_thumb_status_func(lw->vfl, layout_list_thumb_cb, lw);
 
+	vflist_marks_set(lw->vfl, lw->marks_enabled);
+	
 	return lw->vfl->widget;
 }