From: Alan Knowles Date: Thu, 2 Dec 2010 11:38:57 +0000 (+0800) Subject: DependTree/Window.js X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=commitdiff_plain;h=3953708b530c60d7d0fd22aade5caac52a267e6b DependTree/Window.js --- 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,