Also add IMAP body fetch status message.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40576 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -468,8 +468,16 @@ IMAPInboundProtocol::FetchBody(const entry_ref& ref)
|
|||||||
|
|
||||||
fIMAPMailboxThread->StopWatchingMailbox();
|
fIMAPMailboxThread->StopWatchingMailbox();
|
||||||
int32 uid = fStorage.RefToUID(ref);
|
int32 uid = fStorage.RefToUID(ref);
|
||||||
|
|
||||||
|
ResetProgress("Fetch body");
|
||||||
|
SetTotalItems(1);
|
||||||
|
|
||||||
status_t status = fIMAPMailbox.FetchBody(fIMAPMailbox.UIDToMessageNumber(
|
status_t status = fIMAPMailbox.FetchBody(fIMAPMailbox.UIDToMessageNumber(
|
||||||
uid));
|
uid));
|
||||||
|
|
||||||
|
ReportProgress(0, 1);
|
||||||
|
ResetProgress();
|
||||||
|
|
||||||
fIMAPMailboxThread->SyncAndStartWatchingMailbox();
|
fIMAPMailboxThread->SyncAndStartWatchingMailbox();
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user