aboutsummaryrefslogtreecommitdiff
path: root/src/summaryview.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-02-24 04:11:09 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-02-24 04:11:09 +0000
commit2196f3b77785461573a7d1c997ed1db87475d780 (patch)
tree3f71b28dc908f094d04e8e2d5f1aa273f7601703 /src/summaryview.c
parent96f1b251bf45aaef4ed983119f61acd71c57cc20 (diff)
performance fix when resetting the quick search.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1007 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/summaryview.c')
-rw-r--r--src/summaryview.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/summaryview.c b/src/summaryview.c
index 67770b29..de3bc835 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -5043,6 +5043,8 @@ void summary_qsearch_reset(SummaryView *summaryview)
gtk_tree_store_clear(summaryview->store);
gtk_tree_view_set_model(GTK_TREE_VIEW(summaryview->treeview),
GTK_TREE_MODEL(summaryview->store));
+ gtkut_tree_sortable_unset_sort_column_id
+ (GTK_TREE_SORTABLE(summaryview->store));
summaryview->total_size = 0;
summary_set_tree_model_from_list(summaryview, summaryview->all_mlist);
summary_selection_list_free(summaryview);
@@ -5158,6 +5160,8 @@ void summary_qsearch(SummaryView *summaryview)
gtk_tree_store_clear(summaryview->store);
gtk_tree_view_set_model(GTK_TREE_VIEW(summaryview->treeview),
GTK_TREE_MODEL(summaryview->store));
+ gtkut_tree_sortable_unset_sort_column_id
+ (GTK_TREE_SORTABLE(summaryview->store));
summaryview->total_size = 0;
summary_set_tree_model_from_list(summaryview, flt_mlist);
summary_selection_list_free(summaryview);