Bug 938447 Menubar autohide does not work correctly r=Ratty a=Ratty SEAMONKEY_2_23b1_BUILD1 SEAMONKEY_2_23b1_RELEASE
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Mon, 02 Dec 2013 19:33:23 +0000
changeset 16596 80f16a3e89db83cfe8965842e719718c6f570555
parent 16595 1fe055102cf507880cce52bb840e3b1b8fab0be2
child 16597 4ce63fb4be85fcbf3c03d4dc2272c4a039232539
child 16599 4d36e733d36f868299ff2a2641cd0eb238e090e5
push idunknown
push userunknown
push dateunknown
reviewersRatty, Ratty
bugs938447
Bug 938447 Menubar autohide does not work correctly r=Ratty a=Ratty a=Callek for checkin to a CLOSED TREE
suite/browser/navigator.css
suite/common/bindings/toolbar.xml
--- a/suite/browser/navigator.css
+++ b/suite/browser/navigator.css
@@ -76,17 +76,17 @@ searchbar {
 #wrapper-personal-bookmarks[place="palette"] > toolbaritem > #PlacesToolbar {
   display: none;
 }
 
 /* ::::: autohide the menubar for full screen on linux too ::::: */
 
 #toolbar-menubar[autohide="true"]
 {
-  -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-menubar-autohide");
+  -moz-binding: url("chrome://communicator/content/bindings/toolbar.xml#toolbar-menubar-autohide");
   overflow: hidden;
 }
 
 /* notification anchors should only be visible when their associated
    notifications are */
 .notification-anchor-icon {
   -moz-user-focus: normal;
 }
--- a/suite/common/bindings/toolbar.xml
+++ b/suite/common/bindings/toolbar.xml
@@ -257,16 +257,24 @@
       </constructor>
     </implementation>
   </binding>
 
   <binding id="grippytoolbar-menubar"
            extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar"
            display="xul:menubar"/>
 
+  <!-- Temporary workaround for bug 943804 -->
+  <binding id="toolbar-menubar-autohide"
+           extends="chrome://global/content/bindings/toolbar.xml#toolbar-menubar-autohide">
+    <content>
+      <children/>
+    </content>
+  </binding>
+
   <binding id="grippymenubar" extends="chrome://global/content/bindings/toolbar.xml#menubar">
     <content>
       <xul:hbox flex="1" class="toolbar-box">
         <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
                            tbattr="toolbar-grippy" class="toolbar-grippy"/>
         <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar">
           <children/>
         </xul:hbox>