DependTree/Window.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 2 Dec 2010 11:50:31 +0000 (19:50 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 2 Dec 2010 11:50:31 +0000 (19:50 +0800)
DependTree/Window.js

index 1c45e10..85393ff 100644 (file)
@@ -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,