Bug 666650 - [highlighter] create a global toolbar for the highlighter; r=mihai.sucan,gavin.sharp; a=nits
authorRob Campbell <rcampbell@mozilla.com>
Thu, 04 Aug 2011 14:04:42 -0300
changeset 73946 b268f3e3b307bc11e9d12f8d57b9cdef4da82e9d
parent 73945 3f5229b206d5cf8439b9ee0070495a24755b149c
child 73947 8d226c3994b022d1312e214360069caf4c126aa8
push id20932
push usertim.taubert@gmx.de
push dateSun, 07 Aug 2011 18:24:43 +0000
treeherdermozilla-central@eef25ec2d58e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmihai.sucan, gavin.sharp, nits
bugs666650
milestone8.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
Bug 666650 - [highlighter] create a global toolbar for the highlighter; r=mihai.sucan,gavin.sharp; a=nits
browser/base/content/browser.xul
browser/base/content/inspector.js
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -959,16 +959,17 @@
                   onclick="return contentAreaClick(event, false);"/>
       <statuspanel id="statusbar-display" label=""/>
     </vbox>
     <vbox id="browser-border-end" hidden="true" layer="true"/>
   </hbox>
 
   <vbox id="browser-bottombox" layer="true">
     <toolbar id="inspector-toolbar"
+             nowindowdrag="true"
              hidden="true">
       <toolbarbutton id="inspector-inspect-toolbutton"
                      label="&inspectButton.label;"
                      accesskey="&inspectButton.accesskey;"
                      class="toolbarbutton-text"
                      command="Inspector:Inspect"/>
       <toolbarseparator />
       <hbox id="inspector-tools">
--- a/browser/base/content/inspector.js
+++ b/browser/base/content/inspector.js
@@ -763,17 +763,17 @@ var InspectorUI = {
 
     if (!this.domplate) {
       Cu.import("resource:///modules/domplate.jsm", this);
       this.domplateUtils.setDOM(window);
     }
 
     this.openTreePanel();
 
-    this.toolbar.hidden = null;
+    this.toolbar.hidden = false;
     this.inspectCmd.setAttribute("checked", true);
   },
 
   /**
    * Initialize highlighter.
    */
   initializeHighlighter: function IUI_initializeHighlighter()
   {