Update of /cvsroot/mahogany/M/src/gui
In directory usw-pr-cvs1:/tmp/cvs-serv16334/src/gui
Modified Files:
wxMsgCmdProc.cpp
Log Message:
delete messages after moving directly, don't move to trash (this was supposed to be
done a long time ago but somehow wasn't)
Index: wxMsgCmdProc.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMsgCmdProc.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -b -u -2 -r1.30 -r1.31
--- wxMsgCmdProc.cpp 1 Sep 2002 23:30:14 -0000 1.30
+++ wxMsgCmdProc.cpp 2 Sep 2002 16:03:37 -0000 1.31
@@ -1680,9 +1680,16 @@
{
// delete right now
- m_TicketList->Add
- (
+
// true => expunge as well
- m_asmf->DeleteOrTrashMessages(seq, this)
- );
+ Ticket t = m_asmf->DeleteMessages(seq, true, this);
+ if ( t != ILLEGAL_TICKET )
+ {
+ m_TicketList->Add(t);
+ }
+ else // failed to delete?
+ {
+ wxLogError(_("Failed to delete messages after "
+ "moving them."));
+ }
if ( !wasDropped )
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates