From 3953708b530c60d7d0fd22aade5caac52a267e6b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 2 Dec 2010 19:38:57 +0800 Subject: [PATCH] DependTree/Window.js --- DependTree/Window.js | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/DependTree/Window.js b/DependTree/Window.js index 1c45e1088..b0e592df6 100644 --- a/DependTree/Window.js +++ b/DependTree/Window.js @@ -67,21 +67,26 @@ 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 + ] ); + + } + } + ] }, { xtype: Gtk.TreeViewColumn, -- 2.39.2