src/Builder4/DialogNewComponent.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 27 Apr 2015 09:40:18 +0000 (17:40 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 27 Apr 2015 09:40:18 +0000 (17:40 +0800)
src/Builder4/DialogNewComponent.vala

src/Builder4/DialogNewComponent.bjs
src/Builder4/DialogNewComponent.vala

index aa37f36..f7d6722 100644 (file)
         },
         {
          "id" : "build_module",
+         "* init" : "this.el.add_attribute(_this.dbcellrenderer.el , \"markup\", 1 );",
          "* pack" : "attach_defaults,1,2,6,7",
          "xtype" : "ComboBox",
          "$ xns" : "Gtk",
index 0af776e..268acbf 100644 (file)
@@ -624,6 +624,10 @@ public class Xcls_DialogNewComponent : Object
             var child_1 = new Xcls_dbmodel( _this );
             child_1.ref();
             this.el.set_model (  child_1.el  );
+
+            // init method 
+
+            this.el.add_attribute(_this.dbcellrenderer.el , "markup", 1 );
         }
 
         // user defined functions