зеркало из https://github.com/mozilla/gecko-dev.git
Bug 404447 - after "Restore", items in "Bookmarks Toolbar" appears twice, not replaced. r=dietrich, a=schrep.
This commit is contained in:
Родитель
3521874384
Коммит
a4344a6610
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче