# HG changeset patch # User nadvornik # Date 1252963510 0 # Node ID a4f3c93294c976f78c36b0a7a57f5b41e185a62d # Parent ebfb5af3f5de565eb798da3ebc9f6481c9e2576e fixed selection handling in sidebar diff -r ebfb5af3f5de -r a4f3c93294c9 src/bar_comment.c --- 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) { diff -r ebfb5af3f5de -r a4f3c93294c9 src/bar_gps.c --- 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) { diff -r ebfb5af3f5de -r a4f3c93294c9 src/bar_keywords.c --- 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) {