fix 223730, clear imap status messages when finished running imap urls, sr=mscott

git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@193539 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%nventure.com
2006-04-04 19:53:38 +00:00
parent 9b16c8c7bc
commit 3d8ad4f18f

View File

@@ -765,7 +765,11 @@ nsImapMailFolder::UpdateFolder(nsIMsgWindow *msgWindow)
selectFolder = PR_FALSE;
}
rv = GetDatabase(msgWindow);
if (NS_FAILED(rv))
{
ThrowAlertMsg("errorGettingDB", msgWindow);
return rv;
}
PRBool canOpenThisFolder = PR_TRUE;
GetCanIOpenThisFolder(&canOpenThisFolder);
@@ -4776,6 +4780,7 @@ nsImapMailFolder::OnStopRunningUrl(nsIURI *aUrl, nsresult aExitCode)
if (imapUrl)
{
DisplayStatusMsg(imapUrl, NS_LITERAL_STRING("").get());
nsImapAction imapAction = nsIImapUrl::nsImapTest;
imapUrl->GetImapAction(&imapAction);
if (imapAction == nsIImapUrl::nsImapMsgFetch || imapAction == nsIImapUrl::nsImapMsgDownloadForOffline)