From 9c0ac0a8b538a215fb7ac3f2b70e4940fa451db4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 13:03:10 +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 6b319bc6..d7639559 100644 --- a/Clones.bjs +++ b/Clones.bjs @@ -161,6 +161,7 @@ "resizable" : true, "items" : [ { + "id" : "cr_repo", "* pack" : "pack_start", "xtype" : "CellRendererText", "$ xns" : "Gtk" diff --git a/Clones.vala b/Clones.vala index 5fc09036..01b78cca 100644 --- a/Clones.vala +++ b/Clones.vala @@ -20,6 +20,7 @@ public class Clones : Object public Xcls_tv_autopush tv_autopush; public Xcls_cr_autopush cr_autopush; public Xcls_tv_repo tv_repo; + public Xcls_cr_repo cr_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; @@ -741,7 +742,7 @@ public class Clones : Object this.el.title = "Repo"; this.el.min_width = 200; this.el.resizable = true; - var child_0 = new Xcls_CellRendererText17( _this ); + var child_0 = new Xcls_cr_repo( _this ); child_0.ref(); this.el.pack_start ( child_0.el ); @@ -756,7 +757,7 @@ public class Clones : Object // user defined functions } - public class Xcls_CellRendererText17 : Object + public class Xcls_cr_repo : Object { public Gtk.CellRendererText el; private Clones _this; @@ -765,9 +766,10 @@ public class Clones : Object // my vars (def) // ctor - public Xcls_CellRendererText17(Clones _owner ) + public Xcls_cr_repo(Clones _owner ) { _this = _owner; + _this.cr_repo = this; this.el = new Gtk.CellRendererText(); // my vars (dec) -- 2.39.2