summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-12-07 19:10:30 -0500
committerGaming4JC <g4jc@hyperbola.info>2021-01-09 14:11:58 -0500
commitade5b63377b45743498608b0a0b5eed56235cac8 (patch)
tree09a1b5280a17358b6b6817a2182b9336a6664999 /components
parent03c971ab052cd5c12a0464400844465435259196 (diff)
downloadiceweasel-uxp-ade5b63377b45743498608b0a0b5eed56235cac8.tar.gz
Backport UXP #1516 - Change CAN_DRAW_IN_TITLEBAR to MOZ_CAN_DRAW_IN_TITLEBAR
Diffstat (limited to 'components')
-rw-r--r--components/customizableui/content/customizeMode.inc.xul2
-rw-r--r--components/customizableui/moz.build3
2 files changed, 1 insertions, 4 deletions
diff --git a/components/customizableui/content/customizeMode.inc.xul b/components/customizableui/content/customizeMode.inc.xul
index b665630..28ce568 100644
--- a/components/customizableui/content/customizeMode.inc.xul
+++ b/components/customizableui/content/customizeMode.inc.xul
@@ -19,7 +19,7 @@
<vbox id="customization-palette" class="customization-palette"/>
<spacer id="customization-spacer"/>
<hbox id="customization-footer">
-#ifdef CAN_DRAW_IN_TITLEBAR
+#ifdef MOZ_CAN_DRAW_IN_TITLEBAR
<button id="customization-titlebar-visibility-button" class="customizationmode-button"
label="&customizeMode.titlebar;" type="checkbox"
#NB: because oncommand fires after click, by the time we've fired, the checkbox binding
diff --git a/components/customizableui/moz.build b/components/customizableui/moz.build
index 5797a03..f5c34aa 100644
--- a/components/customizableui/moz.build
+++ b/components/customizableui/moz.build
@@ -19,6 +19,3 @@ EXTRA_JS_MODULES += [
EXTRA_PP_JS_MODULES += [
'CustomizableUI.jsm',
]
-
-if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('windows', 'cocoa'):
- DEFINES['CAN_DRAW_IN_TITLEBAR'] = 1