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

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

index 56d03c6..61c54b7 100644 (file)
            "* prop" : "layout_manager"
           },
           {
-           "* ctor" : "new Clutter.Text.full(\"Sans 14px\", GLib.basename(foldername),  Clutter.Color.from_string(\"#fff\"))",
+           "* ctor" : "new Clutter.Text.full(\"Sans 14px\", GLib.basename(folderpath),  Clutter.Color.from_string(\"#fff\"))",
            "id" : "+foldertitle",
-           "* args" : "string foldername",
+           "* args" : "string folderpath",
            "$ x_expand" : true,
            "* pack" : "add_child",
            "xtype" : "Text",
index 9989ca5..f09e2f3 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 ,foldername);
+            var child_1 = new Xcls_foldertitle( _this ,folderpath);
             child_1.ref();
             this.el.add_child (  child_1.el  );
             this.foldertitle =  child_1;
@@ -685,10 +685,10 @@ public class Xcls_ClutterFiles : Object
             // my vars (def)
 
         // ctor
-        public Xcls_foldertitle(Xcls_ClutterFiles _owner , string foldername)
+        public Xcls_foldertitle(Xcls_ClutterFiles _owner , string folderpath)
         {
             _this = _owner;
-            this.el = new Clutter.Text.full("Sans 14px", GLib.basename(foldername),  Clutter.Color.from_string("#fff"));
+            this.el = new Clutter.Text.full("Sans 14px", GLib.basename(folderpath),  Clutter.Color.from_string("#fff"));
 
             // my vars (dec)