Builder/MidPropTree.js
authorAlan Knowles <alan@akkbhome.com>
Tue, 18 May 2010 16:01:42 +0000 (00:01 +0800)
committerAlan Knowles <alan@akkbhome.com>
Tue, 18 May 2010 16:01:42 +0000 (00:01 +0800)
Builder/MidPropTree.js

index 13b3272..9c93633 100755 (executable)
@@ -249,17 +249,17 @@ MidPropTree = new XObject({
                         
                         xtype: Gtk.TreeViewColumn,
                         pack : ['append_column'],
+                        init : function() {
+                            XObject.prototype.init.call(this); 
+                 
                         
+                            this.el.add_attribute(this.items[0].el , 'markup', 4  );
+                        },
                         items : [
                             {
                                 xtype : Gtk.CellRendererText,
                                 pack : ['pack_start'],
-                                init : function() {
-                                    XObject.prototype.init.call(this); 
-                         
                                 
-                                    this.parent.el.add_attribute(this.el , 'markup', 4  );
-                                }
                             }
                         ]
                     }