зеркало из https://github.com/mozilla/pjs.git
Bug 198137 Rename an address book and other areas of the product are not updated
patch by Standard8 <Mark Banner>, r+sr=bienvenu, a=asa
This commit is contained in:
Родитель
a48b282029
Коммит
bf13f43de8
|
@ -486,6 +486,11 @@ NS_IMETHODIMP nsAbBSDirectory::ModifyDirectory(nsIAbDirectory *directory, nsIAbD
|
|||
nsCOMPtr<nsIAbDirectory> modifiedDir;
|
||||
getDirectories.directories->GetElementAt (0, getter_AddRefs(modifiedDir));
|
||||
|
||||
// First tell the directory it's new name
|
||||
rv = modifiedDir->SetDirName(description.get());
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// Then tell everyone else.
|
||||
nsCOMPtr<nsIAddrBookSession> abSession =
|
||||
do_GetService(NS_ADDRBOOKSESSION_CONTRACTID, &rv);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче