changeset 1703:80c83468a47c

update column sizes after toggling thumbnails
author nadvornik
date Fri, 24 Jul 2009 14:07:54 +0000
parents 2725ab224b07
children ffe1f5787a89
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)