diff src/view_file.c @ 1506:d352a44545a6

Force thumbnails refreshing when thumbnails dimensions are modified through Preferences.
author zas_
date Thu, 02 Apr 2009 23:11:07 +0000
parents 331e2d60d447
children c9ed5a43c576
line wrap: on
line diff
--- a/src/view_file.c	Thu Apr 02 16:10:12 2009 +0000
+++ b/src/view_file.c	Thu Apr 02 23:11:07 2009 +0000
@@ -615,6 +615,15 @@
 	return menu;
 }
 
+void vf_thumb_update(ViewFile *vf)
+{
+	switch (vf->type)
+	{
+	case FILEVIEW_LIST: vflist_thumb_update(vf); break;
+	case FILEVIEW_ICON: vficon_thumb_update(vf); break;
+	}
+}
+
 gboolean vf_refresh(ViewFile *vf)
 {
 	gboolean ret = FALSE;