# HG changeset patch # User nadvornik # Date 1248444474 0 # Node ID 80c83468a47c29def60d5f7acd7d224025253c2c # Parent 2725ab224b0777616e9f665ac72735d187019258 update column sizes after toggling thumbnails diff -r 2725ab224b07 -r 80c83468a47c src/view_file_list.c --- 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)