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

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

index bd12c74..cbc4df3 100644 (file)
            },
            "* ctor" : "new Clutter.Text.full(\"Sans 10px\", GLib.Path.get_basename(filepath),  Clutter.Color.from_string(\"#fff\"))",
            "id" : "+folderfile",
-           "* args" : "string folderpath",
+           "* args" : "string filepath",
            "xtype" : "Text",
            "bool x_expand" : true,
            "Clutter.ActorAlign y_align" : "Clutter.ActorAlign.START",
index 0c9697d..0b739c5 100644 (file)
@@ -720,7 +720,7 @@ public class Xcls_ClutterFiles : Object
             child_1.ref();
             this.el.add_child (  child_1.el  );
             this.foldertitle =  child_1;
-            var child_2 = new Xcls_folderfile( _this ,folderpath);
+            var child_2 = new Xcls_folderfile( _this ,filepath);
             child_2.ref();
 
             // init method
@@ -790,7 +790,7 @@ public class Xcls_ClutterFiles : Object
         public string filepath;
 
         // ctor
-        public Xcls_folderfile(Xcls_ClutterFiles _owner , string folderpath)
+        public Xcls_folderfile(Xcls_ClutterFiles _owner , string filepath)
         {
             _this = _owner;
             this.el = new Clutter.Text.full("Sans 10px", GLib.Path.get_basename(filepath),  Clutter.Color.from_string("#fff"));