Bug 416471 - The action icon is wrong after opening and closing the Application Details dialog. r=gavin, a=blocking-firefox3+

This commit is contained in:
florian%queze.net 2008-02-10 13:03:10 +00:00
Родитель fce068840d
Коммит 5672fac31a
1 изменённых файлов: 4 добавлений и 2 удалений

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

@ -1716,8 +1716,10 @@ var gApplicationsPane = {
// update the richlistitem too. Will be visible when selecting another row
typeItem.setAttribute("actionDescription",
this._describePreferredAction(handlerInfo));
typeItem.setAttribute("actionIcon",
this._getIconURLForPreferredAction(handlerInfo));
if (!this._setIconClassForPreferredAction(handlerInfo, typeItem)) {
typeItem.setAttribute("actionIcon",
this._getIconURLForPreferredAction(handlerInfo));
}
},
chooseApp: function(aEvent) {