From 41279e764528cbfb253c54a71bd4406db83c6bd0 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 27 Mar 2011 21:02:31 +0200 Subject: [PATCH] make menubar hiding work correctly in FF4 --- LCARStrek/browser/browser.css | 4 ++++ LCARStrek/global/globalBindings.xml | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index c8e72fa9..862e5210 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -52,6 +52,10 @@ toolbar { -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar"); } +toolbar[type="menubar"][autohide="true"] { + -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-menubar-autohide"); +} + menubar { -moz-binding: url("chrome://global/skin/globalBindings.xml#menubar"); } diff --git a/LCARStrek/global/globalBindings.xml b/LCARStrek/global/globalBindings.xml index 04847c1d..8ff632b6 100755 --- a/LCARStrek/global/globalBindings.xml +++ b/LCARStrek/global/globalBindings.xml @@ -84,6 +84,19 @@ + + + + + + + + + + + + -- 2.43.0