Mercurial > geeqie
changeset 1754:a4f3c93294c9
fixed selection handling in sidebar
author | nadvornik |
---|---|
date | Mon, 14 Sep 2009 21:25:10 +0000 |
parents | ebfb5af3f5de |
children | decb3b64ae74 |
files | src/bar_comment.c src/bar_gps.c src/bar_keywords.c |
diffstat | 3 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bar_comment.c Sun Sep 13 21:08:40 2009 +0000 +++ b/src/bar_comment.c Mon Sep 14 21:25:10 2009 +0000 @@ -83,11 +83,14 @@ comment = text_widget_text_pull(pcd->comment_view); list = layout_selection_list(pcd->pane.lw); + list = file_data_process_groups_in_selection(list, FALSE, NULL); + work = list; while (work) { FileData *fd = work->data; work = work->next; + if (fd == pcd->fd) continue; if (append) {
--- a/src/bar_gps.c Sun Sep 13 21:08:40 2009 +0000 +++ b/src/bar_gps.c Mon Sep 14 21:25:10 2009 +0000 @@ -326,6 +326,7 @@ * Use a background process in case the user selects a large number of files. */ list = layout_selection_list(pgd->pane.lw); + list = file_data_process_groups_in_selection(list, FALSE, NULL); if (list != NULL) {
--- a/src/bar_keywords.c Sun Sep 13 21:08:40 2009 +0000 +++ b/src/bar_keywords.c Mon Sep 14 21:25:10 2009 +0000 @@ -366,6 +366,8 @@ keywords = keyword_list_pull(pkd->keyword_view); list = layout_selection_list(pkd->pane.lw); + list = file_data_process_groups_in_selection(list, FALSE, NULL); + work = list; while (work) {