Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv17077/src/mail

Modified Files:
        MailFolderCC.cpp 
Log Message:
fix several minor bugs when clearing an opened folder

Index: MailFolderCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCC.cpp,v
retrieving revision 1.636
retrieving revision 1.637
diff -b -u -2 -r1.636 -r1.637
--- MailFolderCC.cpp    23 Jul 2002 18:47:12 -0000      1.636
+++ MailFolderCC.cpp    21 Aug 2002 14:03:40 -0000      1.637
@@ -5394,6 +5394,8 @@
       {
          mail_expunge(stream);
+      }
 
-         // we need to update the status manually in this case
+      // we need to update the status manually because we suppressed the normal
+      // notifications
          MailFolderStatus status;
 
@@ -5401,9 +5403,8 @@
          status.total = 0;
          MfStatusCache::Get()->UpdateStatus(fullname, status);
-      }
-   }
+}
    //else: no messages to delete
 
-   if ( stream )
+   if ( stream && !mf )
    {
       CloseOrKeepStream(stream, mfolder, server);



-------------------------------------------------------
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

Reply via email to