fix for bug #393887: Star icon shouldn't be set for items in RSS / Live Bookmarks.

r=dietrich
This commit is contained in:
sspitzer%mozilla.org 2007-09-01 00:04:23 +00:00
Родитель c37ade6d64
Коммит f4d2606f2d
1 изменённых файлов: 4 добавлений и 4 удалений

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

@ -1502,11 +1502,11 @@ var PlacesUtils = {
var bmkIds = this.bookmarks.getBookmarkIdsForURI(aURI, {});
for each (var bk in bmkIds) {
// Find the first folder which isn't a tag container
var folder = this.bookmarks.getFolderIdForItem(bk);
if (folder == this.placesRootId)
var parent = this.bookmarks.getFolderIdForItem(bk);
if (parent == this.placesRootId)
return bk;
var parent = this.bookmarks.getFolderIdForItem(folder)
if (parent != this.tagRootId &&
var grandparent = this.bookmarks.getFolderIdForItem(parent);
if (grandparent != this.tagRootId &&
!this.annotations.itemHasAnnotation(parent, "livemark/feedURI"))
return bk;
}