mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1474132 - Choose right add-on icon size in about:addons and install popup r=rpl
MozReview-Commit-ID: L5O2OwlK879 --HG-- extra : rebase_source : ee405d9a41a940f5a77df8eba2249ca9c9164101
This commit is contained in:
parent
e4580d39d9
commit
a50c798f7a
@ -409,7 +409,7 @@ var ExtensionsUI = {
|
||||
};
|
||||
|
||||
let icon = addon.isWebExtension ?
|
||||
addon.iconURL || DEFAULT_EXTENSION_ICON :
|
||||
AddonManager.getPreferredIconURL(addon, 32, window) || DEFAULT_EXTENSION_ICON :
|
||||
"chrome://browser/skin/addons/addon-install-installed.svg";
|
||||
let options = {
|
||||
hideClose: true,
|
||||
|
@ -914,7 +914,7 @@
|
||||
|
||||
this.setAttribute("name", aAddon.name);
|
||||
|
||||
var iconURL = AddonManager.getPreferredIconURL(aAddon, 48, window);
|
||||
var iconURL = AddonManager.getPreferredIconURL(aAddon, 32, window);
|
||||
if (iconURL)
|
||||
this._icon.src = iconURL;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user