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 05:03:10 -08:00
Родитель d35a6daa3f
Коммит dc0f3dd527
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) {