mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1334479 Show generic icon for legacy add-ons in post-install notification r=mossop
MozReview-Commit-ID: 9JsXPkqx909 --HG-- extra : rebase_source : 062eff8ca9f725e7e14890ae6957f5a76283e5b8
This commit is contained in:
parent
4d3c216f7e
commit
4c4b9579cd
@ -360,10 +360,13 @@ this.ExtensionsUI = {
|
||||
callback: resolve,
|
||||
};
|
||||
|
||||
let icon = addon.isWebExtension ?
|
||||
addon.iconURL || DEFAULT_EXTENSION_ICON :
|
||||
"chrome://browser/skin/addons/addon-install-installed.svg";
|
||||
let options = {
|
||||
hideClose: true,
|
||||
timeout: Date.now() + 30000,
|
||||
popupIconURL: addon.iconURL || DEFAULT_EXTENSION_ICON,
|
||||
popupIconURL: icon,
|
||||
eventCallback(topic) {
|
||||
if (topic == "showing") {
|
||||
let doc = this.browser.ownerDocument;
|
||||
|
Loading…
Reference in New Issue
Block a user