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 73837 b268f3e3b307bc11e9d12f8d57b9cdef4da82e9d
parent 73836 3f5229b206d5cf8439b9ee0070495a24755b149c
child 73844 8d226c3994b022d1312e214360069caf4c126aa8
push id85
push userrcampbell@mozilla.com
push dateThu, 04 Aug 2011 17:05:06 +0000
treeherderfx-team@b268f3e3b307 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmihai.sucan, gavin.sharp, nits
bugs666650
milestone8.0a1
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()
   {