From 1f5207e084bc4efe4a2320f972ef45ed67c4b5d4 Mon Sep 17 00:00:00 2001 From: Gijs Kruitbosch Date: Mon, 8 Jul 2013 17:15:16 +0200 Subject: [PATCH] Bug 890476 - Don't build a menubar on OSX, r=dao --- browser/base/content/browser.css | 4 +++ .../customizableui/content/toolbar.xml | 27 +++++++++++++++++++ .../customizableui/src/CustomizableUI.jsm | 2 ++ 3 files changed, 33 insertions(+) diff --git a/browser/base/content/browser.css b/browser/base/content/browser.css index 58bc6f885cc..90da1c83fe4 100644 --- a/browser/base/content/browser.css +++ b/browser/base/content/browser.css @@ -18,6 +18,10 @@ toolbar[customizable="true"] { } %ifdef XP_MACOSX +#toolbar-menubar { + -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-menubar-stub"); +} + toolbar[customizable="true"]:not([nowindowdrag="true"]) { -moz-binding: url("chrome://browser/content/customizableui/toolbar.xml#toolbar-drag"); } diff --git a/browser/components/customizableui/content/toolbar.xml b/browser/components/customizableui/content/toolbar.xml index 1bcd236eff4..2f457dc6876 100644 --- a/browser/components/customizableui/content/toolbar.xml +++ b/browser/components/customizableui/content/toolbar.xml @@ -146,6 +146,33 @@ + + + + + + + + + + + + + +