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-21 03:31:10 +00:00
Родитель 4e1221244b
Коммит 5121c67a18
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