Bug 1015163 - Always show the menu button in popup windows. r=gijs,enn
☠☠ backed out by 2a11e49c5a83 ☠ ☠
authorDão Gottwald <dao@mozilla.com>
Wed, 10 Dec 2014 16:35:50 +0100
changeset 219481 bc169301ff47fd74e5fa06d6d45aab15b87062ce
parent 219480 4714d60fe7ed62cd9f464ff70ba7b06a0807d594
child 219482 85a89a0a4c1c844e893f4a32cf416adf1ceecd25
push idunknown
push userunknown
push dateunknown
reviewersgijs, enn
bugs1015163
milestone37.0a1
Bug 1015163 - Always show the menu button in popup windows. r=gijs,enn
browser/base/content/browser.xul
toolkit/content/xul.css
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -977,17 +977,16 @@
       </hbox>
 
       <toolbarbutton id="nav-bar-overflow-button"
                      class="toolbarbutton-1 chromeclass-toolbar-additional overflow-button"
                      skipintoolbarset="true"
                      tooltiptext="&navbarOverflow.label;"/>
 
       <toolbaritem id="PanelUI-button"
-                   class="chromeclass-toolbar-additional"
                    removable="false">
         <toolbarbutton id="PanelUI-menu-button"
                        class="toolbarbutton-1"
                        consumeanchor="PanelUI-button"
                        label="&brandShortName;"
                        tooltiptext="&appmenu.tooltip;"/>
       </toolbaritem>
 
--- a/toolkit/content/xul.css
+++ b/toolkit/content/xul.css
@@ -29,17 +29,17 @@
    ::::: */
 
 window[chromehidden~="menubar"] .chromeclass-menubar,
 window[chromehidden~="directories"] .chromeclass-directories,
 window[chromehidden~="status"] .chromeclass-status,
 window[chromehidden~="extrachrome"] .chromeclass-extrachrome,
 window[chromehidden~="location"] .chromeclass-location,
 window[chromehidden~="location"][chromehidden~="toolbar"] .chromeclass-toolbar,
-window[chromehidden~="toolbar"] .chromeclass-toolbar-additional {
+window[chromehidden~="toolbar"] toolbar .chromeclass-toolbar-additional {
   display: none;
 }
 
 /* ::::::::::
    :: Rules for forcing direction for entry and display of URIs
    :: or URI elements
    ::::: */