2005-02-23 [colin] 1.0.1cvs15.8
authorColin Leroy <colin@colino.net>
Wed, 23 Feb 2005 14:54:00 +0000 (14:54 +0000)
committerColin Leroy <colin@colino.net>
Wed, 23 Feb 2005 14:54:00 +0000 (14:54 +0000)
* src/summaryview.c
Really fix Bug 568 by removing useless
calls. summary_thread_init() now called
in summary_sort(). This should please
Alfons as it should be faster than
previously.

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/summaryview.c

index a62490c705f9d23073a0aa2ab13209e8bfd7d704..8be11426739f4d75f4fcfa8bcc01bd8dc948b270 100644 (file)
@@ -1,3 +1,12 @@
+2005-02-23 [colin]     1.0.1cvs15.8
+
+       * src/summaryview.c
+               Really fix Bug 568 by removing useless
+               calls. summary_thread_init() now called
+               in summary_sort(). This should please
+               Alfons as it should be faster than 
+               previously.
+
 2005-02-23 [colin]     1.0.1cvs15.7
 
        * src/compose.c
index 1ec4f6bbce71a0d7cd706192234eb9e7c7076d79..1bc12df04db59003ce9fbd30092a9aa79ed1cd82 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.4.7 -r 1.1.4.9 src/expldifdlg.c; ) > 1.0.1cvs15.5.patchset
 ( cvs diff -u -r 1.382.2.105 -r 1.382.2.106 src/compose.c; cvs diff -u -r 1.150.2.20 -r 1.150.2.21 src/procmsg.c; ) > 1.0.1cvs15.6.patchset
 ( cvs diff -u -r 1.382.2.106 -r 1.382.2.107 src/compose.c; ) > 1.0.1cvs15.7.patchset
+( cvs diff -u -r 1.395.2.55 -r 1.395.2.56 src/summaryview.c; ) > 1.0.1cvs15.8.patchset
index 8df1a3e8a330f9ba35a3e8e66e3d5e66683cd075..80602bbebfcab4a306e3ee5dcf68a8158628b8a1 100644 (file)
@@ -13,7 +13,7 @@ INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=15
 EXTRA_RELEASE=
-EXTRA_GTK2_VERSION=.7
+EXTRA_GTK2_VERSION=.8
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION}
index 6726e17cd12f160b6555e7f5e987c14c1b662d9f..1b3125c77c9e990e4e93df24b08b3fd645a79713 100644 (file)
@@ -954,12 +954,8 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item)
           create the thread */
        summary_set_ctree_from_list(summaryview, mlist);
 
-       g_slist_free(mlist);
 
-       if (summaryview->sort_key != SORT_BY_NONE) {
-               summary_sort(summaryview, summaryview->sort_key, summaryview->sort_type);
-               summary_thread_init(summaryview);
-       }
+       g_slist_free(mlist);
 
        gtk_clist_thaw(GTK_CLIST(ctree));
 
@@ -2071,6 +2067,9 @@ void summary_sort(SummaryView *summaryview,
 
                main_window_cursor_normal(summaryview->mainwin);
 
+               if (summaryview->threaded)
+                       summary_thread_init(summaryview);
+
                debug_print("done.\n");
                STATUSBAR_POP(summaryview->mainwin);
        }
@@ -2156,8 +2155,6 @@ static void summary_set_ctree_from_list(SummaryView *summaryview,
                }
 
                g_node_destroy(root);
-
-               summary_thread_init(summaryview);
        } else {
                gchar *text[N_SUMMARY_COLS];
                cur = mlist;
@@ -2205,6 +2202,8 @@ static void summary_set_ctree_from_list(SummaryView *summaryview,
                debug_print("\tsubject hash table size = %d\n",
                            g_hash_table_size(subject_table));
        }
+
+       summary_sort(summaryview, summaryview->sort_key, summaryview->sort_type);
 }
 
 static gchar *summary_complete_address(const gchar *addr)