summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/content/extensions.xul
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-05-01 16:14:17 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-05-01 16:14:17 -0400
commitec1df1e8a21d83e393dbfb6f5cc03657b11af0fc (patch)
treed2aebb105e3240d68b449cec2d0b4134dc2a073d /toolkit/mozapps/extensions/content/extensions.xul
parentdc43d59ae36d52a09bc7328f0cbb09c981e7adc8 (diff)
downloadUXP-ec1df1e8a21d83e393dbfb6f5cc03657b11af0fc.tar
UXP-ec1df1e8a21d83e393dbfb6f5cc03657b11af0fc.tar.gz
UXP-ec1df1e8a21d83e393dbfb6f5cc03657b11af0fc.tar.lz
UXP-ec1df1e8a21d83e393dbfb6f5cc03657b11af0fc.tar.xz
UXP-ec1df1e8a21d83e393dbfb6f5cc03657b11af0fc.zip
[TychoAM] Make the Add-ons Manager conditionally devtools free
Diffstat (limited to 'toolkit/mozapps/extensions/content/extensions.xul')
-rw-r--r--toolkit/mozapps/extensions/content/extensions.xul6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolkit/mozapps/extensions/content/extensions.xul b/toolkit/mozapps/extensions/content/extensions.xul
index c1a8edc86..c5eeb534f 100644
--- a/toolkit/mozapps/extensions/content/extensions.xul
+++ b/toolkit/mozapps/extensions/content/extensions.xul
@@ -53,8 +53,10 @@
<menuitem id="menuitem_uninstallItem" command="cmd_uninstallItem"
label="&cmd.uninstallAddon.label;"
accesskey="&cmd.uninstallAddon.accesskey;"/>
+#ifdef MOZ_DEVTOOLS
<menuitem id="menuitem_debugItem" command="cmd_debugItem"
label="&cmd.debugAddon.label;"/>
+#endif
<menuseparator id="addonitem-menuseparator" />
<menuitem id="menuitem_preferences" command="cmd_showItemPreferences"
#ifdef XP_WIN
@@ -101,7 +103,9 @@
<command id="cmd_findItemUpdates"/>
<command id="cmd_showItemPreferences"/>
<command id="cmd_showItemAbout"/>
+#ifdef MOZ_DEVTOOLS
<command id="cmd_debugItem"/>
+#endif
<command id="cmd_enableItem"/>
<command id="cmd_disableItem"/>
<command id="cmd_installItem"/>
@@ -631,9 +635,11 @@
#endif
command="cmd_showItemPreferences"/>
<spacer flex="1"/>
+#ifdef MOZ_DEVTOOLS
<button id="detail-debug-btn" class="addon-control debug"
label="Debug"
command="cmd_debugItem" />
+#endif
<button id="detail-enable-btn" class="addon-control enable"
label="&cmd.enableAddon.label;"
accesskey="&cmd.enableAddon.accesskey;"