landing cavin's fix for #134897. turbo related bug:
Mail account info and message display not working for new profile created in Quick Launch mode r=bienvenu, sr=sspitzer git-svn-id: svn://10.0.0.236/trunk@119080 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -284,8 +284,9 @@ nsresult nsMsgFolder::CreateBaseMessageURI(const char *aURI)
|
||||
|
||||
NS_IMETHODIMP nsMsgFolder::Shutdown(PRBool shutdownChildren)
|
||||
{
|
||||
// Reset incoming server pointer.
|
||||
// Reset incoming server pointer and pathname.
|
||||
mServer = nsnull;
|
||||
mPath = nsnull;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -2224,6 +2224,10 @@ NS_IMETHODIMP nsImapMailFolder::GetNewMessages(nsIMsgWindow *aWindow, nsIUrlList
|
||||
NS_IMETHODIMP nsImapMailFolder::Shutdown(PRBool shutdownChildren)
|
||||
{
|
||||
m_filterList = nsnull;
|
||||
m_initialized = PR_FALSE;
|
||||
// m_pathName is used to decide if folder pathname needs to be reconstructed in GetPath().
|
||||
delete m_pathName;
|
||||
m_pathName = nsnull;
|
||||
return nsMsgDBFolder::Shutdown(shutdownChildren);
|
||||
}
|
||||
|
||||
|
||||
@@ -167,6 +167,7 @@ public:
|
||||
nsIMsgCopyServiceListener* listener);
|
||||
NS_IMETHOD GetNewMessages(nsIMsgWindow *aWindow, nsIUrlListener *aListener);
|
||||
NS_IMETHOD NotifyCompactCompleted();
|
||||
NS_IMETHOD Shutdown(PRBool shutdownChildren);
|
||||
|
||||
protected:
|
||||
nsresult CopyFolderAcrossServer(nsIMsgFolder *srcFolder, nsIMsgWindow *msgWindow,nsIMsgCopyServiceListener* listener);
|
||||
|
||||
@@ -1811,3 +1811,9 @@ NS_IMETHODIMP nsMsgNewsFolder::GetPersistElided(PRBool *aPersistElided)
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP nsMsgNewsFolder::Shutdown(PRBool shutdownChildren)
|
||||
{
|
||||
mInitialized = PR_FALSE;
|
||||
return nsMsgDBFolder::Shutdown(shutdownChildren);
|
||||
}
|
||||
|
||||
|
||||
@@ -117,6 +117,8 @@ public:
|
||||
|
||||
NS_IMETHOD GetPersistElided(PRBool *aPersistElided);
|
||||
|
||||
NS_IMETHOD Shutdown(PRBool shutdownChildren);
|
||||
|
||||
// for nsMsgLineBuffer
|
||||
virtual PRInt32 HandleLine(char *line, PRUint32 line_size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user