DependTree/Window.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 2 Dec 2010 10:43:22 +0000 (18:43 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 2 Dec 2010 10:43:22 +0000 (18:43 +0800)
DependTree/Window.js

index 4161241..aacc776 100644 (file)
@@ -68,7 +68,20 @@ Window=new XObject({
                                     items : [
                                         {
                                             xtype: Gtk.ListStore,
-                                            id : "class-list-store"
+                                            id : "class-list-store",
+                                            init : function() 
+                                                    {
+                                                        XObject.prototype.init.call(this);
+                                                        this.el.set_column_types ( 6, [
+                                                            GObject.TYPE_STRING, 
+                                                            GObject.TYPE_BOOLEAN, 
+                                                            GObject.TYPE_STRING, 
+                                                            GObject.TYPE_STRING, 
+                                                            GObject.TYPE_STRING, 
+                                                            GObject.TYPE_STRING 
+                                                        ] );
+                                                        
+                                                    }
                                         },
                                         {
                                             xtype: Gtk.TreeViewColumn,