Bug 168908 All columns in Page Info tabs can be hidden r=IanN.
authorPhilip Chee <philip.chee@gmail.com>
Mon, 06 Feb 2012 12:35:14 +0800
changeset 10781 6ece7d29186b3c44de5bb374b8a99b2b38ab0240
parent 10780 2896ec0b8c069e665052c14b68636e31492e6849
child 10782 b1c2824bfe7e1370e55807343ca66b57f019acda
push id463
push userbugzilla@standard8.plus.com
push dateTue, 24 Apr 2012 17:34:51 +0000
treeherdercomm-beta@e53588e8f7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN
bugs168908
Bug 168908 All columns in Page Info tabs can be hidden r=IanN.
suite/browser/pageinfo/pageInfo.xul
--- a/suite/browser/pageinfo/pageInfo.xul
+++ b/suite/browser/pageinfo/pageInfo.xul
@@ -218,17 +218,17 @@
         </groupbox>
       </vbox>
 
       <!-- Media information -->
       <vbox id="mediaPanel">
         <tree id="imagetree" onselect="onImageSelect();" contextmenu="picontext"
               ondraggesture="onBeginLinkDrag(event,'image-address','image-alt')">
           <treecols>
-            <treecol sortSeparators="true" persist="hidden width" flex="10"
+            <treecol sortSeparators="true" primary="true" persist="width" flex="10"
                      width="10" id="image-address" label="&mediaAddress;"/>
             <splitter class="tree-splitter"/>
             <treecol sortSeparators="true" persist="hidden width" flex="2"
                      width="2"  id="image-type"    label="&mediaType;"/>
             <splitter class="tree-splitter"/>
             <treecol sortSeparators="true" hidden="true" persist="hidden width" flex="2"
                      width="2"  id="image-size"    label="&mediaSize;"/>
             <splitter class="tree-splitter"/>
@@ -403,17 +403,17 @@
         </richlistbox>
       </vbox>
 
       <!-- Form information -->
       <vbox>
         <tree id="formtree" class="fixedsize" onselect="onFormSelect();" contextmenu="picontext">
           <treecols>
             <splitter class="tree-splitter"/>
-            <treecol sortSeparators="true" persist="hidden width" flex="1"
+            <treecol sortSeparators="true" primary="true" persist="width" flex="1"
                          width="1" id="form-name"   label="&formName;"/>
             <splitter class="tree-splitter"/>
             <treecol sortSeparators="true" persist="hidden width" flex="3"
                          width="3" id="form-method" label="&formMethod;"/>
             <splitter class="tree-splitter"/>
             <treecol sortSeparators="true" persist="hidden width" flex="2"
                          width="2" id="form-action" label="&formAction;"/>
           </treecols>
@@ -439,17 +439,17 @@
                 <separator/>
                 <textbox readonly="true" class="label" id="formtarget"/>
               </row>
             </rows>
           </grid>
           <label control="formpreview" class="header" value="&formFields;"/>
           <tree id="formpreview" flex="1" contextmenu="picontext">
             <treecols>
-              <treecol sortSeparators="true" persist="hidden width" flex="3"
+              <treecol sortSeparators="true" primary="true" persist="width" flex="3"
                            width="3" id="field-label"  label="&formLabel;"/>
               <splitter class="tree-splitter"/>
               <treecol sortSeparators="true" persist="hidden width" flex="3"
                            width="3" id="field-field"  label="&formFName;"/>
               <splitter class="tree-splitter"/>
               <treecol sortSeparators="true" persist="hidden width" flex="1"
                            width="1" id="field-type"   label="&formType;"/>
               <splitter class="tree-splitter"/>
@@ -460,17 +460,17 @@
           </tree>
         </vbox>
       </vbox>
 
       <!-- Link info -->
       <vbox>
         <tree id="linktree" flex="1" ondraggesture="onBeginLinkDrag(event,'link-address','link-name')" contextmenu="picontext">
           <treecols>
-            <treecol sortSeparators="true" persist="hidden width" flex="5"
+            <treecol sortSeparators="true" primary="true" persist="width" flex="5"
                          width="5" id="link-name"     label="&linkName;"/>
             <splitter class="tree-splitter"/>
             <treecol sortSeparators="true" persist="hidden width" flex="7"
                          width="7" id="link-address"  label="&linkAddress;"/>
             <splitter class="tree-splitter"/>
             <treecol sortSeparators="true" persist="hidden width" flex="2"
                          width="2" id="link-type"     label="&linkType;"/>
             <splitter class="tree-splitter"/>