Mercurial > geeqie.yaz
changeset 608:be8b2516359d
In the search results view, hide dimensions column instead of
displaying an empty one.
When dimensions search criteria is used, it is always displayed.
author | zas_ |
---|---|
date | Thu, 08 May 2008 22:59:14 +0000 |
parents | 6c331d0ba9b6 |
children | b690cecbf5b8 |
files | src/search.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c Thu May 08 22:49:16 2008 +0000 +++ b/src/search.c Thu May 08 22:59:14 2008 +0000 @@ -2110,6 +2110,9 @@ date_selection_get(sd->date_sel, &sd->search_date_d, &sd->search_date_m, &sd->search_date_y); date_selection_get(sd->date_sel_end, &sd->search_date_end_d, &sd->search_date_end_m, &sd->search_date_end_y); + column = gtk_tree_view_get_column(GTK_TREE_VIEW(sd->result_view), SEARCH_COLUMN_DIMENSIONS - 1); + gtk_tree_view_column_set_visible(column, sd->match_dimensions_enable); + column = gtk_tree_view_get_column(GTK_TREE_VIEW(sd->result_view), SEARCH_COLUMN_RANK - 1); gtk_tree_view_column_set_visible(column, sd->match_similarity_enable); if (!sd->match_similarity_enable)