[gtk+] tests: Add an invisible column to the tree test



commit 857fa847963f33a1a1173e6edd50ca7351f1c78e
Author: Benjamin Otte <otte redhat com>
Date:   Wed Nov 16 01:32:07 2011 +0100

    tests: Add an invisible column to the tree test
    
    This one should be invisible if everything works as it should.

 tests/a11y/tree.ui |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/tests/a11y/tree.ui b/tests/a11y/tree.ui
index ea7f65b..d98a89f 100644
--- a/tests/a11y/tree.ui
+++ b/tests/a11y/tree.ui
@@ -34,11 +34,24 @@
         </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>
             </child>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]