Mercurial > geeqie
comparison src/bar_comment.c @ 1754:a4f3c93294c9
fixed selection handling in sidebar
author | nadvornik |
---|---|
date | Mon, 14 Sep 2009 21:25:10 +0000 |
parents | 6146ec0c9ab9 |
children | 956aab097ea7 |
comparison
equal
deleted
inserted
replaced
1753:ebfb5af3f5de | 1754:a4f3c93294c9 |
---|---|
81 gchar *comment = NULL; | 81 gchar *comment = NULL; |
82 | 82 |
83 comment = text_widget_text_pull(pcd->comment_view); | 83 comment = text_widget_text_pull(pcd->comment_view); |
84 | 84 |
85 list = layout_selection_list(pcd->pane.lw); | 85 list = layout_selection_list(pcd->pane.lw); |
86 list = file_data_process_groups_in_selection(list, FALSE, NULL); | |
87 | |
86 work = list; | 88 work = list; |
87 while (work) | 89 while (work) |
88 { | 90 { |
89 FileData *fd = work->data; | 91 FileData *fd = work->data; |
90 work = work->next; | 92 work = work->next; |
93 if (fd == pcd->fd) continue; | |
91 | 94 |
92 if (append) | 95 if (append) |
93 { | 96 { |
94 metadata_append_string(fd, pcd->key, comment); | 97 metadata_append_string(fd, pcd->key, comment); |
95 } | 98 } |