[Australis] Bug 963092: update help menu button styling. r=jaws
authorMike de Boer <mdeboer@mozilla.com>
Thu, 23 Jan 2014 16:35:34 +0100
changeset 180939 533903493de2787ed7c8c2f35cfe8275cf4682de
parent 180938 72300f62e00cbd7118f8cf8408af690a8f87988e
child 180940 0592b1488a8aff73f5040e043a1ec57a73dc8a1f
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs963092
milestone29.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
[Australis] Bug 963092: update help menu button styling. r=jaws
browser/components/customizableui/content/panelUI.js
--- a/browser/components/customizableui/content/panelUI.js
+++ b/browser/components/customizableui/content/panelUI.js
@@ -404,16 +404,17 @@ const PanelUI = {
         continue;
       let button = document.createElementNS(NSXUL, "toolbarbutton");
       // Copy specific attributes from a menuitem of the Help menu
       for (let attrName of attrs) {
         if (!node.hasAttribute(attrName))
           continue;
         button.setAttribute(attrName, node.getAttribute(attrName));
       }
+      button.setAttribute("class", "subviewbutton");
       fragment.appendChild(button);
     }
     items.appendChild(fragment);
 
     this.addEventListener("command", PanelUI.onCommandHandler);
   },
 
   _onHelpViewHide: function(aEvent) {