Mercurial > geeqie
comparison src/view_file_list.c @ 1703:80c83468a47c
update column sizes after toggling thumbnails
author | nadvornik |
---|---|
date | Fri, 24 Jul 2009 14:07:54 +0000 |
parents | 2725ab224b07 |
children | a2dc83823432 |
comparison
equal
deleted
inserted
replaced
1702:2725ab224b07 | 1703:80c83468a47c |
---|---|
2058 | 2058 |
2059 /* vflist_populate_view is better than vf_refresh: | 2059 /* vflist_populate_view is better than vf_refresh: |
2060 - no need to re-read the directory | 2060 - no need to re-read the directory |
2061 - force update because the formatted string has changed | 2061 - force update because the formatted string has changed |
2062 */ | 2062 */ |
2063 if (vf->layout) vflist_populate_view(vf, TRUE); | 2063 if (vf->layout) |
2064 { | |
2065 vflist_populate_view(vf, TRUE); | |
2066 gtk_tree_view_columns_autosize(GTK_TREE_VIEW(vf->listview)); | |
2067 } | |
2064 } | 2068 } |
2065 | 2069 |
2066 void vflist_marks_set(ViewFile *vf, gboolean enable) | 2070 void vflist_marks_set(ViewFile *vf, gboolean enable) |
2067 { | 2071 { |
2068 GList *columns, *work; | 2072 GList *columns, *work; |