2005-06-03 [paul] 1.9.11cvs38
authorPaul Mangan <paul@claws-mail.org>
Fri, 3 Jun 2005 11:15:09 +0000 (11:15 +0000)
committerPaul Mangan <paul@claws-mail.org>
Fri, 3 Jun 2005 11:15:09 +0000 (11:15 +0000)
* src/folderview.c
add a freeze/thaw to speed up 'mark all read'

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

index 2858c9d..53eb710 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-03 [paul]      1.9.11cvs38
+
+       * src/folderview.c
+               add a freeze/thaw to speed up 'mark all read'
+
 2005-06-03 [paul]      1.9.11cvs37
 
        * src/prefs_message.c
index 598b3f2..f1f82cb 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.179.2.18 -r 1.179.2.19 src/imap.c;  ) > 1.9.11cvs35.patchset
 ( cvs diff -u -r 1.53.2.10 -r 1.53.2.11 po/POTFILES.in;  ) > 1.9.11cvs36.patchset
 ( cvs diff -u -r 1.1.2.2 -r 1.1.2.3 src/prefs_message.c;  ) > 1.9.11cvs37.patchset
+( cvs diff -u -r 1.207.2.39 -r 1.207.2.40 src/folderview.c;  ) > 1.9.11cvs38.patchset
index 7123cf1..32798d6 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=37
+EXTRA_VERSION=38
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index f14c258..45ceb9f 100644 (file)
@@ -592,7 +592,11 @@ static void mark_all_read_cb(FolderView *folderview, guint action,
        if (item == NULL)
                return;
 
+       if (folderview->summaryview->folder_item == item)
+               gtk_clist_freeze(GTK_CLIST(folderview->summaryview->ctree));
        folderutils_mark_all_read(item);
+       if (folderview->summaryview->folder_item == item)
+               gtk_clist_thaw(GTK_CLIST(folderview->summaryview->ctree));
 }
 
 static void folderview_select_node(FolderView *folderview, GtkCTreeNode *node)