update column sizes after toggling thumbnails
authorVladimir Nadvornik <nadvornik@suse.cz>
Fri, 24 Jul 2009 14:07:54 +0000 (14:07 +0000)
committerVladimir Nadvornik <nadvornik@suse.cz>
Fri, 24 Jul 2009 14:07:54 +0000 (14:07 +0000)
src/view_file_list.c

index c036aaa..338c84b 100644 (file)
@@ -2060,7 +2060,11 @@ void vflist_thumb_set(ViewFile *vf, gboolean enable)
           - no need to re-read the directory
           - force update because the formatted string has changed
        */
-       if (vf->layout) vflist_populate_view(vf, TRUE); 
+       if (vf->layout) 
+               {
+               vflist_populate_view(vf, TRUE);
+               gtk_tree_view_columns_autosize(GTK_TREE_VIEW(vf->listview));
+               }
 }
 
 void vflist_marks_set(ViewFile *vf, gboolean enable)