Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv11880/src/mail
Modified Files:
MailFolderCmn.cpp
Log Message:
don't expunge the messages after move if the (source) folder is not configured to use
trash
Index: MailFolderCmn.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCmn.cpp,v
retrieving revision 1.91
retrieving revision 1.92
diff -b -u -2 -r1.91 -r1.92
--- MailFolderCmn.cpp 13 May 2002 00:27:39 -0000 1.91
+++ MailFolderCmn.cpp 17 May 2002 19:04:44 -0000 1.92
@@ -1319,5 +1319,5 @@
{
// delete without expunging
- rc = DeleteMessages(selections, FALSE);
+ rc = DeleteMessages(selections, FALSE /* don't expunge */);
}
else // move to trash
@@ -1327,5 +1327,11 @@
{
// delete and expunge
- rc = DeleteMessages(selections, TRUE);
+ //
+ // TODO: unset the 'DELETED' flag for the currently deleted messages
+ // before calling DeleteMessages(selections) and set it back
+ // afterwards: see bug 653 at
+ //
+ // http://mahogany.sourceforge.net/cgi-bin/show_bug.cgi?id=653
+ rc = DeleteMessages(selections, TRUE /* expunge */);
}
}
_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that�s a super model! Visit http://clustering.foundries.sf.net/
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates