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

Clones.bjs
Clones.vala

index dcb37b4..d871074 100644 (file)
            ]
           },
           {
+           "id" : "tv_all_branches",
            "* init" : "function() {\n    XObject.prototype.init.call(this);\n    this.el.add_attribute(this.items[0].el , 'markup', 2 );\n\n}\n",
            "title" : "All Branches",
            "* pack" : "append_column",
index 4e989fa..a41fb36 100644 (file)
@@ -20,6 +20,7 @@ public class Clones : Object
     public Xcls_tv_repo tv_repo;
     public Xcls_tv_current_branch tv_current_branch;
     public Xcls_tv_last_updated tv_last_updated;
+    public Xcls_tv_all_branches tv_all_branches;
     public Xcls_ok_button ok_button;
 
         // my vars (def)
@@ -489,7 +490,7 @@ public class Clones : Object
             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 );
+            var child_6 = new Xcls_tv_all_branches( _this );
             child_6.ref();
             this.el.append_column (  child_6.el  );
 
@@ -891,7 +892,7 @@ public class Clones : Object
     }
 
 
-    public class Xcls_TreeViewColumn22 : Object
+    public class Xcls_tv_all_branches : Object
     {
         public Gtk.TreeViewColumn el;
         private Clones  _this;
@@ -900,9 +901,10 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_TreeViewColumn22(Clones _owner )
+        public Xcls_tv_all_branches(Clones _owner )
         {
             _this = _owner;
+            _this.tv_all_branches = this;
             this.el = new Gtk.TreeViewColumn();
 
             // my vars (dec)