At least in vmware it takes longer to read the local files then the remote list. Add a status message for that.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40413 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2011-02-09 22:17:54 +00:00
parent 81d1d0e504
commit b985151b34

View File

@ -319,7 +319,7 @@ IMAPInboundProtocol::Connect(const char* server, const char* username,
statusMessage = "Connect to: ";
statusMessage += username;
SetTotalItems(4);
SetTotalItems(5);
ReportProgress(0, 1, statusMessage);
status_t status = fIMAPMailbox.Connect(server, username, password, useSSL,
@ -356,6 +356,7 @@ IMAPInboundProtocol::Connect(const char* server, const char* username,
return status;
}
ReportProgress(0, 1, "Read local message list");
status = fStorage.WaitForDatabaseReaded();
if (status != B_OK) {
ShowError("Can't read database");