[turbine: 3/4] [ui] add an extra column in the interfaces model



commit e046aa91f55599a281431d32a22cc3cd0ee08b63
Author: Thomas Wood <thomas wood intel com>
Date:   Tue Sep 8 15:09:20 2009 +0100

    [ui] add an extra column in the interfaces model
    
    This column is used to hold the struct name of the interface the object
    will implement.

 src/turbine/turbine.xml |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/src/turbine/turbine.xml b/src/turbine/turbine.xml
index 818a9cf..b0d5793 100644
--- a/src/turbine/turbine.xml
+++ b/src/turbine/turbine.xml
@@ -6,6 +6,8 @@
     <columns>
       <!-- column-name type-name -->
       <column type="gchararray"/>
+      <!-- column-name struct-name -->
+      <column type="gchararray"/>
     </columns>
   </object>
   <object class="GtkWindow" id="main-window">
@@ -253,6 +255,19 @@
                                 </child>
                               </object>
                             </child>
+                            <child>
+                              <object class="GtkTreeViewColumn" id="treeviewcolumn2">
+                                <property name="title">Struct Name</property>
+                                <child>
+                                  <object class="GtkCellRendererText" id="struct-treeviewcell">
+                                    <property name="editable">True</property>
+                                  </object>
+                                  <attributes>
+                                    <attribute name="text">1</attribute>
+                                  </attributes>
+                                </child>
+                              </object>
+                            </child>
                           </object>
                         </child>
                       </object>



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