Clones.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 05:02:04 +0000 (13:02 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 05:02:04 +0000 (13:02 +0800)
Clones.vala

Clones.bjs
Clones.vala

index 86d57f9..dcb37b4 100644 (file)
            ]
           },
           {
+           "id" : "tv_last_updated",
            "* init" : "function() {\n    XObject.prototype.init.call(this);\n    this.el.add_attribute(this.items[0].el , 'markup', 3 );\n\n}\n",
            "* pack" : "append_column",
            "title" : "Last updated",
index 307c737..4e989fa 100644 (file)
@@ -19,6 +19,7 @@ public class Clones : Object
     public Xcls_tv_autopush tv_autopush;
     public Xcls_tv_repo tv_repo;
     public Xcls_tv_current_branch tv_current_branch;
+    public Xcls_tv_last_updated tv_last_updated;
     public Xcls_ok_button ok_button;
 
         // my vars (def)
@@ -485,7 +486,7 @@ public class Clones : Object
             var child_4 = new Xcls_tv_current_branch( _this );
             child_4.ref();
             this.el.append_column (  child_4.el  );
-            var child_5 = new Xcls_TreeViewColumn20( _this );
+            var child_5 = new Xcls_tv_last_updated( _this );
             child_5.ref();
             this.el.append_column (  child_5.el  );
             var child_6 = new Xcls_TreeViewColumn22( _this );
@@ -832,7 +833,7 @@ public class Clones : Object
     }
 
 
-    public class Xcls_TreeViewColumn20 : Object
+    public class Xcls_tv_last_updated : Object
     {
         public Gtk.TreeViewColumn el;
         private Clones  _this;
@@ -841,9 +842,10 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_TreeViewColumn20(Clones _owner )
+        public Xcls_tv_last_updated(Clones _owner )
         {
             _this = _owner;
+            _this.tv_last_updated = this;
             this.el = new Gtk.TreeViewColumn();
 
             // my vars (dec)