src/Builder4/ClutterFiles.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 24 May 2015 08:27:47 +0000 (16:27 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 24 May 2015 08:27:47 +0000 (16:27 +0800)
src/Builder4/ClutterFiles.vala

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

index 77d71c8..a05f240 100644 (file)
            "* ctor" : "new Clutter.Text.full(\"Sans 10px\", GLib.Path.get_basename(filepath),  Clutter.Color.from_string(\"#fff\"))",
            "* args" : "string filepath",
            "id" : "*folderfile",
-           "* init" : "{\n\n}\n",
+           "* init" : "{\n    this.filepath = filepath;\n}\n",
            "$ x_expand" : true,
            "* pack" : "add_child",
            "xtype" : "Text",
index cc0eec5..a7d95ed 100644 (file)
@@ -713,7 +713,7 @@ public class Xcls_ClutterFiles : Object
             // init method
 
             {
-            
+                this.filepath = filepath;
             }
 
             //listeners