зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
fce068840d
Коммит
5672fac31a
|
@ -1716,8 +1716,10 @@ var gApplicationsPane = {
|
||||||
// update the richlistitem too. Will be visible when selecting another row
|
// update the richlistitem too. Will be visible when selecting another row
|
||||||
typeItem.setAttribute("actionDescription",
|
typeItem.setAttribute("actionDescription",
|
||||||
this._describePreferredAction(handlerInfo));
|
this._describePreferredAction(handlerInfo));
|
||||||
typeItem.setAttribute("actionIcon",
|
if (!this._setIconClassForPreferredAction(handlerInfo, typeItem)) {
|
||||||
this._getIconURLForPreferredAction(handlerInfo));
|
typeItem.setAttribute("actionIcon",
|
||||||
|
this._getIconURLForPreferredAction(handlerInfo));
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
chooseApp: function(aEvent) {
|
chooseApp: function(aEvent) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче