]> Pileus Git - ~andy/gtk/commitdiff
tests: Add an invisible column to the tree test
authorBenjamin Otte <otte@redhat.com>
Wed, 16 Nov 2011 00:32:07 +0000 (01:32 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 16 Nov 2011 03:39:25 +0000 (04:39 +0100)
This one should be invisible if everything works as it should.

tests/a11y/tree.ui

index ea7f65b06f2daf7c047c8150ce482b28a9f05187..d98a89fd3a93072d51f59ca86b544f7f53dfd5bb 100644 (file)
         </child>
         <child>
           <object class="GtkTreeViewColumn" id="column2">
-            <property name="title" translatable="yes">Column 2</property>
+            <property name="title" translatable="yes">invisible Column</property>
+            <property name="visible">false</property>
             <child>
               <object class="GtkCellRendererText" id="renderer2">
               </object>
+              <attributes>
+                <attribute name="text">0</attribute>
+              </attributes>
+            </child>
+          </object>
+        </child>
+        <child>
+          <object class="GtkTreeViewColumn" id="column3">
+            <property name="title" translatable="yes">Column 2</property>
+            <child>
+              <object class="GtkCellRendererText" id="renderer3">
+              </object>
               <attributes>
                 <attribute name="text">1</attribute>
               </attributes>