diff options
author | Moonchild <moonchild@palemoon.org> | 2022-04-14 15:47:40 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-14 20:03:05 +0200 |
commit | 8feed35c618b48a684133e162ba49a93de02c9ad (patch) | |
tree | 0154ec4b5e23a2f42aefe57cc2d51a529852dc21 /toolkit/mozapps/extensions/content/extensions.xml | |
parent | 7b706516bcea11d041c8d17b5deb1222950036f0 (diff) | |
download | uxp-8feed35c618b48a684133e162ba49a93de02c9ad.tar.gz |
Issue #1821 - Restore "dot" indicators
This also removes orange compat warning styling and associated strings.
Reverses the entirety of #1445
Diffstat (limited to 'toolkit/mozapps/extensions/content/extensions.xml')
-rw-r--r-- | toolkit/mozapps/extensions/content/extensions.xml | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/toolkit/mozapps/extensions/content/extensions.xml b/toolkit/mozapps/extensions/content/extensions.xml index fc19be4b3a..28feb19698 100644 --- a/toolkit/mozapps/extensions/content/extensions.xml +++ b/toolkit/mozapps/extensions/content/extensions.xml @@ -857,6 +857,10 @@ <xul:label anonid="name" class="name" crop="end" flex="1" 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;"/> +#endif <xul:label class="disabled-postfix" value="&addon.disabled.postfix;"/> <xul:label class="update-postfix" value="&addon.update.postfix;"/> <xul:spacer flex="5000"/> <!-- Necessary to make the name crop --> @@ -1353,20 +1357,8 @@ } 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 - ); - this._warningLink.value = gStrings.ext.GetStringFromName("notification.compatibility.link"); - this._warningLink.href = Services.urlFormatter.formatURLPref("extensions.compatibility.url"); - this._warningLink.hidden = false; - this._warningBtn.hidden = true; - } - } #endif } } |