Bug 404447 - after "Restore", items in "Bookmarks Toolbar" appears twice, not replaced. r=dietrich, a=schrep.

This commit is contained in:
mozilla.mano@sent.com 2007-11-20 19:31:10 -08:00
Родитель 3521874384
Коммит a4344a6610
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -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