Builder3/Window.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 3 Jul 2012 15:24:52 +0000 (23:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 3 Jul 2012 15:24:52 +0000 (23:24 +0800)
Builder3/Window.js

index f27511a..aa3222a 100644 (file)
@@ -1060,17 +1060,14 @@ Window=new XObject({
                                                                                 
                                                                                 
                                                                             },
-                                                                                                                                                       
-                                                                                                                                                       
-                                                                                                                                                       
-                                                                            init : function() {
-                                                                                XObject.prototype.init.call(this);
-                                                                             this.el.set_column_types ( 3, [
+                                                                                                                                                       columns : [
                                                                                         GObject.TYPE_STRING, // title 
                                                                                         GObject.TYPE_STRING, // tip
                                                                                         GObject.TYPE_STRING // source..
-                                                                                        ] );
-                                                                            },
+                                                                                        ] ,
+                                                                                                                                                       
+                                                                                                                                                       
+                                                                           
                                                                             listAllTypes : function() {
                                                                                 var s = this.get('/LeftTree.view').selection;
                                                                                 print ("LIST ALL TYPES: " + s.count_selected_rows() );