2005-04-02 [colin] 1.9.6cvs22
authorColin Leroy <colin@colino.net>
Sat, 2 Apr 2005 22:23:30 +0000 (22:23 +0000)
committerColin Leroy <colin@colino.net>
Sat, 2 Apr 2005 22:23:30 +0000 (22:23 +0000)
* src/summaryview.c
Make scrolling faster. Patch by Alfons.

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

index c7602ad3b968d059a50592ba54759bbe4d6b3f36..5f22457ded700773892dbf28bb8f3e1dddbf5cad 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-02 [colin]     1.9.6cvs22
+
+       * src/summaryview.c
+               Make scrolling faster. Patch by Alfons.
+
 2005-04-01 [colin]     1.9.6cvs21
 
        * src/Makefile.am
 2005-04-01 [colin]     1.9.6cvs21
 
        * src/Makefile.am
index e4426b8e0994436586f0a1ebced0d53dd24013fa..5e5de5c6794d7e92dd6dc6ab938320092f7908a9 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.100.2.15 -r 1.100.2.16 AUTHORS; cvs diff -u -r 1.24.2.6 -r 1.24.2.7 Makefile.am; cvs diff -u -r 1.654.2.471 -r 1.654.2.472 configure.ac; cvs diff -u -r 1.17.2.7 -r 1.17.2.8 po/ru.po; ) > 1.9.6cvs19.patchset
 ( cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/image_viewer.c; cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/image_viewer.h; cvs diff -u -r 1.49.2.37 -r 1.49.2.38 src/procmime.c; cvs diff -u -r 1.17.2.8 -r 1.17.2.9 src/procmime.h; cvs diff -u -r 1.96.2.51 -r 1.96.2.52 src/textview.c; cvs diff -u -r 1.12.2.4 -r 1.12.2.5 src/textview.h; ) > 1.9.6cvs20.patchset
 ( cvs diff -u -r 1.155.2.20 -r 1.155.2.21 src/Makefile.am; cvs diff -u -r 1.25.2.10 -r 1.25.2.11 src/stock_pixmap.c; cvs diff -u -r -1.1.2.1 -r -1.1.2.2 src/pixmaps/dir-noselect.xpm; cvs diff -u -r 0 -r 1 src/pixmaps/dir_noselect.xpm; ) > 1.9.6cvs21.patchset
 ( cvs diff -u -r 1.100.2.15 -r 1.100.2.16 AUTHORS; cvs diff -u -r 1.24.2.6 -r 1.24.2.7 Makefile.am; cvs diff -u -r 1.654.2.471 -r 1.654.2.472 configure.ac; cvs diff -u -r 1.17.2.7 -r 1.17.2.8 po/ru.po; ) > 1.9.6cvs19.patchset
 ( cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/image_viewer.c; cvs diff -u -r 1.1.2.1 -r 1.1.2.2 src/image_viewer.h; cvs diff -u -r 1.49.2.37 -r 1.49.2.38 src/procmime.c; cvs diff -u -r 1.17.2.8 -r 1.17.2.9 src/procmime.h; cvs diff -u -r 1.96.2.51 -r 1.96.2.52 src/textview.c; cvs diff -u -r 1.12.2.4 -r 1.12.2.5 src/textview.h; ) > 1.9.6cvs20.patchset
 ( cvs diff -u -r 1.155.2.20 -r 1.155.2.21 src/Makefile.am; cvs diff -u -r 1.25.2.10 -r 1.25.2.11 src/stock_pixmap.c; cvs diff -u -r -1.1.2.1 -r -1.1.2.2 src/pixmaps/dir-noselect.xpm; cvs diff -u -r 0 -r 1 src/pixmaps/dir_noselect.xpm; ) > 1.9.6cvs21.patchset
+( cvs diff -u -r 1.395.2.63 -r 1.395.2.64 src/summaryview.c; ) > 1.9.6cvs22.patchset
index 096744fd724bb21b4c52f6af05d66896f6323e4e..308dbe438311bca58013a1c7c844a8a264f20b40 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=21
+EXTRA_VERSION=22
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index beb714f766f2e653c4fb29c619e24755c5f69f6a..5711e3e3c800de165b0af7a6eae5407e830c0813 100644 (file)
@@ -2061,12 +2061,13 @@ void summary_sort(SummaryView *summaryview,
        if (summaryview->sort_key == SORT_BY_NONE)
                return;
 
        if (summaryview->sort_key == SORT_BY_NONE)
                return;
 
-       if(cmp_func != NULL) {
+       if (cmp_func != NULL) {
                debug_print("Sorting summary...");
                STATUSBAR_PUSH(summaryview->mainwin, _("Sorting summary..."));
 
                main_window_cursor_wait(summaryview->mainwin);
 
                debug_print("Sorting summary...");
                STATUSBAR_PUSH(summaryview->mainwin, _("Sorting summary..."));
 
                main_window_cursor_wait(summaryview->mainwin);
 
+                gtk_clist_freeze(clist);
                gtk_clist_set_compare_func(clist, cmp_func);
 
                gtk_clist_set_sort_type(clist, (GtkSortType)sort_type);
                gtk_clist_set_compare_func(clist, cmp_func);
 
                gtk_clist_set_sort_type(clist, (GtkSortType)sort_type);
@@ -2079,6 +2080,8 @@ void summary_sort(SummaryView *summaryview,
 
                if (summaryview->threaded)
                        summary_thread_init(summaryview);
 
                if (summaryview->threaded)
                        summary_thread_init(summaryview);
+                        
+                gtk_clist_thaw(clist);
 
                debug_print("done.\n");
                STATUSBAR_POP(summaryview->mainwin);
 
                debug_print("done.\n");
                STATUSBAR_POP(summaryview->mainwin);