From eff38977903b55f4d95cb296c49cd1bc9e1d6874 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 13:03:37 +0800 Subject: [PATCH] Clones.bjs Clones.vala --- Clones.bjs | 1 + Clones.vala | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Clones.bjs b/Clones.bjs index a605f59c..8f1afa55 100644 --- a/Clones.bjs +++ b/Clones.bjs @@ -213,6 +213,7 @@ "resizable" : false, "items" : [ { + "id" : "cr_all_branches", "* pack" : "pack_start", "xtype" : "CellRendererText", "$ xns" : "Gtk" diff --git a/Clones.vala b/Clones.vala index 81c0c736..0eb07242 100644 --- a/Clones.vala +++ b/Clones.vala @@ -26,6 +26,7 @@ public class Clones : Object public Xcls_tv_last_updated tv_last_updated; public Xcls_cr_last_updated cr_last_updated; public Xcls_tv_all_branches tv_all_branches; + public Xcls_cr_all_branches cr_all_branches; public Xcls_ok_button ok_button; // my vars (def) @@ -923,7 +924,7 @@ public class Clones : Object this.el.title = "All Branches"; this.el.min_width = 50; this.el.resizable = false; - var child_0 = new Xcls_CellRendererText23( _this ); + var child_0 = new Xcls_cr_all_branches( _this ); child_0.ref(); this.el.pack_start ( child_0.el ); @@ -938,7 +939,7 @@ public class Clones : Object // user defined functions } - public class Xcls_CellRendererText23 : Object + public class Xcls_cr_all_branches : Object { public Gtk.CellRendererText el; private Clones _this; @@ -947,9 +948,10 @@ public class Clones : Object // my vars (def) // ctor - public Xcls_CellRendererText23(Clones _owner ) + public Xcls_cr_all_branches(Clones _owner ) { _this = _owner; + _this.cr_all_branches = this; this.el = new Gtk.CellRendererText(); // my vars (dec) -- 2.39.2