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:
sspitzer%netscape.com
2002-04-16 05:22:35 +00:00
parent 44e172b98b
commit 6a538e9e68
5 changed files with 15 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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);
}

View File

@@ -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);

View File

@@ -1811,3 +1811,9 @@ NS_IMETHODIMP nsMsgNewsFolder::GetPersistElided(PRBool *aPersistElided)
}
NS_IMETHODIMP nsMsgNewsFolder::Shutdown(PRBool shutdownChildren)
{
mInitialized = PR_FALSE;
return nsMsgDBFolder::Shutdown(shutdownChildren);
}

View File

@@ -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);