JsRender/NodeToGtk.vala
authorAlan Knowles <alan@roojs.com>
Mon, 15 Sep 2014 08:45:48 +0000 (16:45 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 15 Sep 2014 08:45:48 +0000 (16:45 +0800)
JsRender/NodeToGtk.vala

index 36e90be..01c1bd9 100644 (file)
@@ -79,8 +79,8 @@ public class JsRender.NodeToGtk : Object {
                //var id = this.node.uid();
                //var ret = @"$pad<object class=\"$cls\" id=\"$id\">\n";
                // properties..
-
-               var props = Palete.Gir.factoryFqn(this.node.fqn()).props;
+               var cls_gir =Palete.Gir.factoryFqn(this.node.fqn()); 
+               var props = cls_gir.props;
                
               
                var pviter = props.map_iterator();
@@ -131,7 +131,9 @@ public class JsRender.NodeToGtk : Object {
                // let's test just setting expand to false...
                
                if  (this.node.props.has_key("* pack")) {
-                       var pack = this.node.props.get_value("* pack")
+                       var pack = this.node.props.get_value("* pack").split(",");
+                       var meth = cls
+