summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/content
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-05-01 12:26:01 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-05-01 12:26:01 -0400
commit61de1c80cdc6c04e71fde07cc5028af503438134 (patch)
treee158c4bcd756e65deb2635acb503be4c07b56e75 /toolkit/mozapps/extensions/content
parent754796d243fe9cd1a6d26fde4135ccb5d00a0415 (diff)
downloadUXP-61de1c80cdc6c04e71fde07cc5028af503438134.tar
UXP-61de1c80cdc6c04e71fde07cc5028af503438134.tar.gz
UXP-61de1c80cdc6c04e71fde07cc5028af503438134.tar.lz
UXP-61de1c80cdc6c04e71fde07cc5028af503438134.tar.xz
UXP-61de1c80cdc6c04e71fde07cc5028af503438134.zip
Only set and show the dual-guid indicators when dual-guid has been built
Diffstat (limited to 'toolkit/mozapps/extensions/content')
-rw-r--r--toolkit/mozapps/extensions/content/extensions.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolkit/mozapps/extensions/content/extensions.xml b/toolkit/mozapps/extensions/content/extensions.xml
index fab340540..7fe17be2a 100644
--- a/toolkit/mozapps/extensions/content/extensions.xml
+++ b/toolkit/mozapps/extensions/content/extensions.xml
@@ -9,6 +9,8 @@
%extensionsDTD;
<!ENTITY % aboutDTD SYSTEM "chrome://mozapps/locale/extensions/about.dtd">
%aboutDTD;
+<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
+%brandDTD;
]>
<bindings id="addonBindings"
@@ -855,8 +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 -->
@@ -1362,8 +1366,10 @@
[this.mAddon.name], 1);
} else {
this.removeAttribute("notification");
+#ifdef MOZ_PHOENIX_EXTENSIONS
if (this.mAddon.type == "extension")
this.setAttribute("native", this.mAddon.native);
+#endif
}
}