зеркало из https://github.com/mozilla/pjs.git
Bug 404447 - after "Restore", items in "Bookmarks Toolbar" appears twice, not replaced. r=dietrich, a=schrep.
This commit is contained in:
Родитель
4e1221244b
Коммит
5121c67a18
|
@ -2257,6 +2257,13 @@ nsPlacesImportExportService::RunBatched(nsISupports* aUserData)
|
|||
|
||||
rv = mBookmarksService->RemoveFolderChildren(bookmarksMenuFolder);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
PRInt64 toolbarFolder;
|
||||
rv = mBookmarksService->GetToolbarFolder(&toolbarFolder);
|
||||
NS_ENSURE_SUCCESS(rv,rv);
|
||||
|
||||
rv = mBookmarksService->RemoveFolderChildren(toolbarFolder);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
|
||||
// streams
|
||||
|
|
Загрузка…
Ссылка в новой задаче