Builder4/ValaProjectSettings.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 29 Oct 2014 09:34:14 +0000 (17:34 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Oct 2014 09:34:14 +0000 (17:34 +0800)
Builder4/ValaProjectSettings.vala

Builder4/ValaProjectSettings.bjs
Builder4/ValaProjectSettings.vala

index a948001..7534d11 100644 (file)
@@ -59,7 +59,8 @@
                                                     "$ xns" : "Gtk"
                                                 },
                                                 {
-                                                    "* pack" : "remove_column",
+                                                    "* init" : " this.el.add_attribute(_this.keyrender.el , \"markup\", 2 );\n this.el.add_attribute(_this.keyrender.el , \"text\", 1 );\n  ",
+                                                    "* pack" : "append_column",
                                                     "xtype" : "TreeViewColumn",
                                                     "$ xns" : "Gtk"
                                                 }
index 62cecc9..5fa94b9 100644 (file)
@@ -205,7 +205,7 @@ public class ValaProjectSettings : Object
             this.el.set_model (  child_0.el  );
             var child_1 = new Xcls_TreeViewColumn10( _this );
             child_1.ref();
-            this.el.remove_column (  child_1.el  );
+            this.el.append_column (  child_1.el  );
         }
 
         // user defined functions 
@@ -250,7 +250,11 @@ public class ValaProjectSettings : Object
             // my vars (dec)
 
             // set gobject values
-        }
+
+            // init method 
+
+            this.el.add_attribute(_this.keyrender.el , "markup", 2 );
+             this.el.add_attribute(_this.keyrender.el , "text", 1 );        }
 
         // user defined functions 
     }