src/Builder4/ClutterFiles.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 1 Jun 2015 10:30:48 +0000 (18:30 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 1 Jun 2015 10:30:48 +0000 (18:30 +0800)
src/Builder4/ClutterFiles.vala

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

index 9aab52c..705292b 100644 (file)
             "enter_event" : "(  event)  => {\n    this.el.background_color =   Clutter.Color.from_string(\"#fff\");\n    this.el.color =  Clutter.Color.from_string(\"#000\");\n        return false;\n}",
             "leave_event" : "(  event)  => {\n    this.el.background_color =   Clutter.Color.from_string(\"#000\");\n     this.el.color =   Clutter.Color.from_string(\"#fff\");\n    return false;\n}"
            },
+           "* ctor" : "new Clutter.Text.full(\"Sans 10px\", file.nickName(),  Clutter.Color.from_string(\"#fff\"))",
            "id" : "+folderfile",
            "* args" : "string folderpath",
            "xtype" : "Text",
index 37708c2..08af088 100644 (file)
@@ -793,7 +793,7 @@ public class Xcls_ClutterFiles : Object
         public Xcls_folderfile(Xcls_ClutterFiles _owner , string folderpath)
         {
             _this = _owner;
-            this.el = new Clutter.Text();
+            this.el = new Clutter.Text.full("Sans 10px", file.nickName(),  Clutter.Color.from_string("#fff"));
 
             // my vars (dec)