зеркало из https://github.com/mozilla/pjs.git
87872 r=cavin sr=bienvenu; remove Release() because it causes a crash if you
rename a local folder and exit immediately.
This commit is contained in:
Родитель
e1e3419dfd
Коммит
3dbcbcafe4
|
@ -1224,8 +1224,6 @@ NS_IMETHODIMP nsMsgLocalMailFolder::Rename(const PRUnichar *aNewName, nsIMsgWind
|
||||||
nsCOMPtr<nsISupports> newFolderSupport = do_QueryInterface(newFolder);
|
nsCOMPtr<nsISupports> newFolderSupport = do_QueryInterface(newFolder);
|
||||||
NotifyItemAdded(parentSupport, newFolderSupport, "folderView");
|
NotifyItemAdded(parentSupport, newFolderSupport, "folderView");
|
||||||
}
|
}
|
||||||
Release(); // really remove ourself from the system; since we need to
|
|
||||||
// regenerate the folder uri from the parent folder.
|
|
||||||
/***** jefft -
|
/***** jefft -
|
||||||
* Needs to find a way to reselect the new renamed folder and the
|
* Needs to find a way to reselect the new renamed folder and the
|
||||||
* message being selected.
|
* message being selected.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче