зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 192124. Filing more than one bookmark in a newly created folder cause bookmarks not to be saved.
r=sdagley, sr=peterv, a=asa, patch by ccarlen
This commit is contained in:
Родитель
3f34720cd5
Коммит
d5ad3b1663
|
@ -233,6 +233,9 @@ nsProfileDirServiceProvider::GetFile(const char *prop, PRBool *persistant, nsIFi
|
|||
}
|
||||
}
|
||||
else if (inAtom == sApp_BookmarksFile50) {
|
||||
#ifdef XP_MACOSX
|
||||
*persistant = PR_FALSE; // See bug 192124
|
||||
#endif
|
||||
rv = mProfileDir->Clone(getter_AddRefs(localFile));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
rv = localFile->AppendNative(BOOKMARKS_FILE_50_NAME);
|
||||
|
|
Загрузка…
Ссылка в новой задаче