comparison src/layout.c @ 555:cca1c3b1b948

Set thumbs_enabled through new function vflist_thumbs_set() instead of vflist_new().
author zas_
date Sat, 03 May 2008 10:31:37 +0000
parents 32cf2e7992fd
children fe675761d091
comparison
equal deleted inserted replaced
554:2da72a136070 555:cca1c3b1b948
752 /* FIXME vficon_marks_set(lw->vfi, lw->marks_enabled); */ 752 /* FIXME vficon_marks_set(lw->vfi, lw->marks_enabled); */
753 753
754 return lw->vfi->widget; 754 return lw->vfi->widget;
755 } 755 }
756 756
757 lw->vfl = vflist_new(NULL, lw->thumbs_enabled); 757 lw->vfl = vflist_new(NULL);
758 vflist_set_layout(lw->vfl, lw); 758 vflist_set_layout(lw->vfl, lw);
759 759
760 vflist_set_status_func(lw->vfl, layout_list_status_cb, lw); 760 vflist_set_status_func(lw->vfl, layout_list_status_cb, lw);
761 vflist_set_thumb_status_func(lw->vfl, layout_list_thumb_cb, lw); 761 vflist_set_thumb_status_func(lw->vfl, layout_list_thumb_cb, lw);
762 762
763 vflist_marks_set(lw->vfl, lw->marks_enabled); 763 vflist_marks_set(lw->vfl, lw->marks_enabled);
764 vflist_thumbs_set(lw->vfl, lw->thumbs_enabled);
764 765
765 return lw->vfl->widget; 766 return lw->vfl->widget;
766 } 767 }
767 768
768 static void layout_list_sync_thumb(LayoutWindow *lw) 769 static void layout_list_sync_thumb(LayoutWindow *lw)