Bug 686778 - Move close button back to the left side on Mac r=dcamp
authorJared Wein <jwein@mozilla.com>
Mon, 19 Sep 2011 22:42:52 -0700
changeset 77242 4866693ce45c43cefd7fa1c5a5fdd05ce8b080ef
parent 77241 d1a258f48898ff424099b391904be9d0bd183ae9
child 77243 c2d1c841d003379d9327f9c2712e5d19a9467ed8
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersdcamp
bugs686778
milestone9.0a1
Bug 686778 - Move close button back to the left side on Mac r=dcamp
browser/devtools/webconsole/HUDService.jsm
--- a/browser/devtools/webconsole/HUDService.jsm
+++ b/browser/devtools/webconsole/HUDService.jsm
@@ -3610,33 +3610,33 @@ HeadsUpDisplay.prototype = {
         ]
       }
     ];
 
     let toolbar = this.makeXULNode("toolbar");
     toolbar.setAttribute("class", "hud-console-filter-toolbar");
     toolbar.setAttribute("mode", "full");
 
-#ifdef XP_MAC
+#ifdef XP_MACOSX
     this.makeCloseButton(toolbar);
 #endif
 
     for (let i = 0; i < BUTTONS.length; i++) {
       this.makeFilterButton(toolbar, BUTTONS[i]);
     }
 
     toolbar.appendChild(this.filterSpacer);
 
     let positionUI = this.createPositionUI();
     toolbar.appendChild(positionUI);
 
     toolbar.appendChild(this.filterBox);
     this.makeClearConsoleButton(toolbar);
 
-#ifndef XP_MAC
+#ifndef XP_MACOSX
     this.makeCloseButton(toolbar);
 #endif
 
     return toolbar;
   },
 
   /**
    * Creates the UI for re-positioning the console