src/Builder4/ClutterFiles.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 22 May 2015 09:34:53 +0000 (17:34 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 22 May 2015 09:34:53 +0000 (17:34 +0800)
src/Builder4/ClutterFiles.vala

src/Builder4/ClutterFiles.bjs
src/Builder4/ClutterFiles.vala

index d7effdc..1f0bdcc 100644 (file)
           {
            "* ctor" : "new Clutter.Text.full(\"Sans 14px\", file.nickType(),  Clutter.Color.from_string(\"#fff\"))",
            "id" : "+foldertitle",
-           "* args" : "JsRender.JsRender file",
+           "* args" : "sting foldername",
            "$ x_expand" : true,
            "* pack" : "add_child",
            "xtype" : "Text",
index 5382e3a..c100419 100644 (file)
@@ -626,7 +626,7 @@ public class Xcls_ClutterFiles : Object
             var child_0 = new Xcls_BoxLayout16( _this );
             child_0.ref();
             this.el.layout_manager = child_0.el;
-            var child_1 = new Xcls_foldertitle( _this ,file);
+            var child_1 = new Xcls_foldertitle( _this ,foldername);
             child_1.ref();
             this.el.add_child (  child_1.el  );
             this.foldertitle =  child_1;
@@ -685,7 +685,7 @@ public class Xcls_ClutterFiles : Object
             // my vars (def)
 
         // ctor
-        public Xcls_foldertitle(Xcls_ClutterFiles _owner , JsRender.JsRender file)
+        public Xcls_foldertitle(Xcls_ClutterFiles _owner , sting foldername)
         {
             _this = _owner;
             this.el = new Clutter.Text.full("Sans 14px", file.nickType(),  Clutter.Color.from_string("#fff"));