2005-01-28 [colin] 1.0.0cvs22
authorColin Leroy <colin@colino.net>
Fri, 28 Jan 2005 12:17:48 +0000 (12:17 +0000)
committerColin Leroy <colin@colino.net>
Fri, 28 Jan 2005 12:17:48 +0000 (12:17 +0000)
* src/folderview.c
Don't call partial_mark_for_delete() when
it's useless

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

index 79d73fd..c04b8da 100644 (file)
@@ -1,3 +1,9 @@
+2005-01-28 [colin]     1.0.0cvs22
+
+       * src/folderview.c
+               Don't call partial_mark_for_delete() when 
+               it's useless
+
 2005-01-27 [colin]     1.0.0cvs21
 
        * src/procmsg.c
index 20b2d7e..a56885e 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.102 -r 1.103 src/procmime.c; ) > 1.0.0cvs19.patchset
 ( cvs diff -u -r 1.262 -r 1.263 src/folder.c; cvs diff -u -r 1.256 -r 1.257 src/folderview.c; ) > 1.0.0cvs20.patchset
 ( cvs diff -u -r 1.176 -r 1.177 src/procmsg.c; cvs diff -u -r 1.470 -r 1.471 src/compose.c; ) > 1.0.0cvs21.patchset
+( cvs diff -u -r 1.257 -r 1.258 src/folderview.c; ) > 1.0.0cvs22.patchset
index f2463b9..c123f29 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=0
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=21
+EXTRA_VERSION=22
 EXTRA_RELEASE=
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
index 1cb674a..cde4004 100644 (file)
@@ -1791,7 +1791,8 @@ static void folderview_empty_trash_cb(FolderView *folderview, guint action,
        
        for (cur = mlist ; cur != NULL ; cur = cur->next) {
                MsgInfo * msginfo = (MsgInfo *) cur->data;
-               partial_mark_for_delete(msginfo);
+               if (msginfo->partial_recv)
+                       partial_mark_for_delete(msginfo);
        }
        procmsg_msg_list_free(mlist);