update column sizes after toggling thumbnails
authorVladimir Nadvornik <[email protected]>
Fri, 24 Jul 2009 14:07:54 +0000 (14:07 +0000)
committerVladimir Nadvornik <[email protected]>
Fri, 24 Jul 2009 14:07:54 +0000 (14:07 +0000)
src/view_file_list.c

index c036aaa642a2e52f227cdb336a58eb9b4dc71a89..338c84b0d16d5f87620cb4e6997fccddc3a2c0fb 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)