From: Vladimir Nadvornik Date: Fri, 24 Jul 2009 14:07:54 +0000 (+0000) Subject: update column sizes after toggling thumbnails X-Git-Tag: v1.0.0~100 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=206a227078812c68c76b4a233cd877639a8b49bf;p=geeqie.git update column sizes after toggling thumbnails --- diff --git a/src/view_file_list.c b/src/view_file_list.c index c036aaa64..338c84b0d 100644 --- a/src/view_file_list.c +++ b/src/view_file_list.c @@ -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)