From 52d24428dd10e2250c317c5d757834234c20d055 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 2 Dec 2010 19:24:28 +0800 Subject: [PATCH] DependTree/Window.js --- DependTree/Window.js | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/DependTree/Window.js b/DependTree/Window.js index 26a42beea..b3b8a79e2 100644 --- a/DependTree/Window.js +++ b/DependTree/Window.js @@ -130,7 +130,20 @@ Window=new XObject({ items : [ { xtype: Gtk.ListStore, - id : "method-list-store" + id : "method-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, @@ -179,7 +192,20 @@ Window=new XObject({ items : [ { xtype: Gtk.ListStore, - id : "children-list-store" + id : "children-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, -- 2.39.2