aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-06 10:30:42 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-06-06 10:30:42 +0000
commitc9d224a4d8d5b3e96fad7ddccf86d44edb404479 (patch)
tree4b0e6fab48ac7a8fff955b005f90c2b547c1469f /src
parenta67ab3bc7254c4b0c225cacdedfef70cdbcb75d9 (diff)
clear selection list when the order of the summary list is changed.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@314 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/summaryview.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/summaryview.c b/src/summaryview.c
index e91d4a90..2d0af8b1 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -1566,6 +1566,7 @@ void summary_attract_by_subject(SummaryView *summaryview)
g_hash_table_destroy(order_table);
summaryview->folder_item->cache_dirty = TRUE;
+ summary_selection_list_free(summaryview);
summary_scroll_to_selected(summaryview);
@@ -1743,6 +1744,7 @@ void summary_sort(SummaryView *summaryview,
gtk_tree_sortable_set_sort_column_id(sortable, col_type,
(GtkSortType)sort_type);
+ summary_selection_list_free(summaryview);
summary_set_column_titles(summaryview);
summary_set_menu_sensitive(summaryview);