Author: czeidler Date: 2011-02-20 09:15:24 +0100 (Sun, 20 Feb 2011) New Revision: 40576 Changeset: http://dev.haiku-os.org/changeset/40576 Modified: haiku/trunk/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPInboundProtocol.cpp Log: Also add IMAP body fetch status message. Modified: haiku/trunk/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPInboundProtocol.cpp =================================================================== --- haiku/trunk/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPInboundProtocol.cpp 2011-02-20 07:55:47 UTC (rev 40575) +++ haiku/trunk/src/add-ons/mail_daemon/inbound_protocols/imap/IMAPInboundProtocol.cpp 2011-02-20 08:15:24 UTC (rev 40576) @@ -468,8 +468,16 @@ fIMAPMailboxThread->StopWatchingMailbox(); int32 uid = fStorage.RefToUID(ref); + + ResetProgress("Fetch body"); + SetTotalItems(1); + status_t status = fIMAPMailbox.FetchBody(fIMAPMailbox.UIDToMessageNumber( uid)); + + ReportProgress(0, 1); + ResetProgress(); + fIMAPMailboxThread->SyncAndStartWatchingMailbox(); return status; }