From 2196f3b77785461573a7d1c997ed1db87475d780 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 24 Feb 2006 04:11:09 +0000 Subject: performance fix when resetting the quick search. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1007 ee746299-78ed-0310-b773-934348b2243d --- src/summaryview.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/summaryview.c') 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); -- cgit v1.2.3