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

Clones.bjs
Clones.vala

index 34a71de..86d57f9 100644 (file)
            ]
           },
           {
+           "id" : "tv_current_branch",
            "* init" : "function() {\n    XObject.prototype.init.call(this);\n    this.el.add_attribute(this.items[0].el , 'markup', 1 );\n     this.el.add_attribute(this.items[0].el , 'cell-background', 7 );\n\n}\n",
            "* pack" : "append_column",
            "title" : "Current Branch",
index 6c9ec3b..307c737 100644 (file)
@@ -18,6 +18,7 @@ public class Clones : Object
     public Xcls_tv_autocommit tv_autocommit;
     public Xcls_tv_autopush tv_autopush;
     public Xcls_tv_repo tv_repo;
+    public Xcls_tv_current_branch tv_current_branch;
     public Xcls_ok_button ok_button;
 
         // my vars (def)
@@ -481,7 +482,7 @@ public class Clones : Object
             var child_3 = new Xcls_tv_repo( _this );
             child_3.ref();
             this.el.append_column (  child_3.el  );
-            var child_4 = new Xcls_TreeViewColumn18( _this );
+            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 );
@@ -772,7 +773,7 @@ public class Clones : Object
     }
 
 
-    public class Xcls_TreeViewColumn18 : Object
+    public class Xcls_tv_current_branch : Object
     {
         public Gtk.TreeViewColumn el;
         private Clones  _this;
@@ -781,9 +782,10 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_TreeViewColumn18(Clones _owner )
+        public Xcls_tv_current_branch(Clones _owner )
         {
             _this = _owner;
+            _this.tv_current_branch = this;
             this.el = new Gtk.TreeViewColumn();
 
             // my vars (dec)