2008-01-19 [colin] 3.2.0cvs50
authorColin Leroy <colin@colino.net>
Sat, 19 Jan 2008 15:53:47 +0000 (15:53 +0000)
committerColin Leroy <colin@colino.net>
Sat, 19 Jan 2008 15:53:47 +0000 (15:53 +0000)
* src/folder.c
Make cache update after copies much faster
on IMAP

ChangeLog
PATCHSETS
configure.ac
src/folder.c

index e65a08abd24b8a65dfdbfb6a864874e19b6f344a..a4dde75d4052419af94aa76c14fcf4b3bb645c2c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-19 [colin]     3.2.0cvs50
+
+       * src/folder.c
+               Make cache update after copies much faster
+               on IMAP
+
 2008-01-19 [colin]     3.2.0cvs49
 
        * src/textview.c
index 7436dd3fa5306dabe93a8cff3e7b890e78b75b7d..f1be7bcfdf1192f72e1e82352a2122c71f221036 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.1.4.41 -r 1.1.4.42 src/gtk/gtksctree.c;  ) > 3.2.0cvs47.patchset
 ( cvs diff -u -r 1.1.2.14 -r 1.1.2.15 manual/faq.xml;  cvs diff -u -r 1.1.2.3 -r 1.1.2.4 manual/es/faq.xml;  cvs diff -u -r 1.1.2.6 -r 1.1.2.7 manual/fr/faq.xml;  cvs diff -u -r 1.1.2.3 -r 1.1.2.4 manual/pl/faq.xml;  ) > 3.2.0cvs48.patchset
 ( cvs diff -u -r 1.96.2.195 -r 1.96.2.196 src/textview.c;  ) > 3.2.0cvs49.patchset
+( cvs diff -u -r 1.213.2.174 -r 1.213.2.175 src/folder.c;  ) > 3.2.0cvs50.patchset
index a7b5a2d66abbd209dc25efb8f8aa2e1659228065..dbd2e4f1c95038f9d93d634cd91c6f9423a74086 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=2
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=49
+EXTRA_VERSION=50
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 711d4dfde8c620abe2ebc36c6dfaae98dfc102a7..c47e517750c0cad07e7273b8bbc5340bb1636c2f 100644 (file)
@@ -3241,6 +3241,10 @@ static gint do_copy_msgs(FolderItem *dest, GSList *msglist, gboolean remove_sour
        statusbar_print_all(_("Updating cache for %s..."), dest->path ? dest->path : "(null)");
        total = g_slist_length(msglist);
        
+       if (FOLDER_TYPE(dest->folder) == F_IMAP && total > 1) {
+               folder_item_scan_full(dest, FALSE);
+               folderscan = TRUE;
+       }
        folder_item_set_batch(dest, TRUE);
        for (l = msglist; l != NULL; l = g_slist_next(l)) {
                MsgInfo *msginfo = (MsgInfo *) l->data;