summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/content/extensions.xml
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-16 13:10:55 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 12:44:41 +0200
commitbbee80fa1c703b534105fbfdd325faea9dbbbffe (patch)
tree52a41f3d10c344de080f5aff9818efcea1049659 /toolkit/mozapps/extensions/content/extensions.xml
parent8ffe533b3d056535ff85e5e6b311010dae193c99 (diff)
downloadUXP-bbee80fa1c703b534105fbfdd325faea9dbbbffe.tar
UXP-bbee80fa1c703b534105fbfdd325faea9dbbbffe.tar.gz
UXP-bbee80fa1c703b534105fbfdd325faea9dbbbffe.tar.lz
UXP-bbee80fa1c703b534105fbfdd325faea9dbbbffe.tar.xz
UXP-bbee80fa1c703b534105fbfdd325faea9dbbbffe.zip
Issue #1445 - Clarify the status of extensions in the Add-On manager
This resolves #1445.
Diffstat (limited to 'toolkit/mozapps/extensions/content/extensions.xml')
-rw-r--r--toolkit/mozapps/extensions/content/extensions.xml14
1 files changed, 11 insertions, 3 deletions
diff --git a/toolkit/mozapps/extensions/content/extensions.xml b/toolkit/mozapps/extensions/content/extensions.xml
index 9c8fda8ed..513807e78 100644
--- a/toolkit/mozapps/extensions/content/extensions.xml
+++ b/toolkit/mozapps/extensions/content/extensions.xml
@@ -858,8 +858,8 @@
xbl:inherits="value=name,tooltiptext=name"/>
<xul:label anonid="version" class="version"/>
#ifdef MOZ_PHOENIX_EXTENSIONS
- <xul:label class="nativeIndicator nativeAddon" value="●" tooltiptext="&addon.nativeAddon;"/>
- <xul:label class="nativeIndicator compatAddon" value="●" tooltiptext="&addon.compatAddon;"/>
+ <xul:label class="nativeIndicator nativeAddon" value="" tooltiptext="&addon.nativeAddon;"/>
+ <xul:label class="nativeIndicator compatAddon" value="⚠️" tooltiptext="&addon.compatAddon;"/>
#endif
<xul:label class="disabled-postfix" value="&addon.disabled.postfix;"/>
<xul:label class="update-postfix" value="&addon.update.postfix;"/>
@@ -1359,8 +1359,16 @@
} else {
this.removeAttribute("notification");
#ifdef MOZ_PHOENIX_EXTENSIONS
- if (this.mAddon.type == "extension")
+ if (this.mAddon.type == "extension") {
this.setAttribute("native", this.mAddon.native);
+ if (this.mAddon.native == false) {
+ this.setAttribute("notification", "warning");
+ this._warning.textContent = gStrings.ext.formatStringFromName(
+ "notification.compatibility",
+ [this.mAddon.name, gStrings.brandShortName], 2
+ );
+ }
+ }
#endif
}
}