changeset 1680:bc42d0f9cee7

update column sizes after toggling thumbnails
author nadvornik
date Fri, 24 Jul 2009 14:07:54 +0000
parents f2534ab598be
children e1f24ef3eb83
files src/view_file_list.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/view_file_list.c	Fri Jul 24 13:32:37 2009 +0000
+++ b/src/view_file_list.c	Fri Jul 24 14:07:54 2009 +0000
@@ -2060,7 +2060,11 @@
 	   - 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)