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:
parent
81d1d0e504
commit
b985151b34
@ -319,7 +319,7 @@ IMAPInboundProtocol::Connect(const char* server, const char* username,
|
|||||||
|
|
||||||
statusMessage = "Connect to: ";
|
statusMessage = "Connect to: ";
|
||||||
statusMessage += username;
|
statusMessage += username;
|
||||||
SetTotalItems(4);
|
SetTotalItems(5);
|
||||||
ReportProgress(0, 1, statusMessage);
|
ReportProgress(0, 1, statusMessage);
|
||||||
|
|
||||||
status_t status = fIMAPMailbox.Connect(server, username, password, useSSL,
|
status_t status = fIMAPMailbox.Connect(server, username, password, useSSL,
|
||||||
@ -356,6 +356,7 @@ IMAPInboundProtocol::Connect(const char* server, const char* username,
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ReportProgress(0, 1, "Read local message list");
|
||||||
status = fStorage.WaitForDatabaseReaded();
|
status = fStorage.WaitForDatabaseReaded();
|
||||||
if (status != B_OK) {
|
if (status != B_OK) {
|
||||||
ShowError("Can't read database");
|
ShowError("Can't read database");
|
||||||
|
Loading…
Reference in New Issue
Block a user