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

Clones.bjs
Clones.vala

index d763955..b04434f 100644 (file)
            "$ xns" : "Gtk",
            "items" : [
             {
+             "id" : "cr_current_branch",
              "* pack" : "pack_start",
              "xtype" : "CellRendererText",
              "$ xns" : "Gtk"
index 01b78cc..b5d943d 100644 (file)
@@ -22,6 +22,7 @@ public class Clones : Object
     public Xcls_tv_repo tv_repo;
     public Xcls_cr_repo cr_repo;
     public Xcls_tv_current_branch tv_current_branch;
+    public Xcls_cr_current_branch cr_current_branch;
     public Xcls_tv_last_updated tv_last_updated;
     public Xcls_tv_all_branches tv_all_branches;
     public Xcls_ok_button ok_button;
@@ -801,7 +802,7 @@ public class Clones : Object
             // set gobject values
             this.el.title = "Current Branch";
             this.el.min_width = 50;
-            var child_0 = new Xcls_CellRendererText19( _this );
+            var child_0 = new Xcls_cr_current_branch( _this );
             child_0.ref();
             this.el.pack_start (  child_0.el  );
 
@@ -817,7 +818,7 @@ public class Clones : Object
 
         // user defined functions
     }
-    public class Xcls_CellRendererText19 : Object
+    public class Xcls_cr_current_branch : Object
     {
         public Gtk.CellRendererText el;
         private Clones  _this;
@@ -826,9 +827,10 @@ public class Clones : Object
             // my vars (def)
 
         // ctor
-        public Xcls_CellRendererText19(Clones _owner )
+        public Xcls_cr_current_branch(Clones _owner )
         {
             _this = _owner;
+            _this.cr_current_branch = this;
             this.el = new Gtk.CellRendererText();
 
             // my vars (dec)