From fe67d8e781db57ccbae61dd1ee9ddb3ccbba28d6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 2 Dec 2010 19:50:31 +0800 Subject: [PATCH] DependTree/Window.js --- DependTree/Window.js | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) diff --git a/DependTree/Window.js b/DependTree/Window.js index 1c45e1088..85393ff7c 100644 --- a/DependTree/Window.js +++ b/DependTree/Window.js @@ -67,21 +67,27 @@ Window=new XObject({ xtype: Gtk.TreeView, items : [ { - xtype: Gtk.ListStore, - 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.TreeModelFilter, + items : [ + { + xtype: Gtk.ListStore, + 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 + ] ); + + }, + pack : false + } + ] }, { xtype: Gtk.TreeViewColumn, -- 2.39.2