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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user