From: Alan Knowles Date: Tue, 30 Oct 2018 05:03:29 +0000 (+0800) Subject: Clones.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=471ee11c2d136864a7e36fd766b3046faa1ee185 Clones.bjs Clones.vala --- diff --git a/Clones.bjs b/Clones.bjs index b04434f8..a605f59c 100644 --- a/Clones.bjs +++ b/Clones.bjs @@ -195,6 +195,7 @@ "$ xns" : "Gtk", "items" : [ { + "id" : "cr_last_updated", "* pack" : "pack_start", "xtype" : "CellRendererText", "$ xns" : "Gtk" diff --git a/Clones.vala b/Clones.vala index b5d943d8..81c0c736 100644 --- a/Clones.vala +++ b/Clones.vala @@ -24,6 +24,7 @@ public class Clones : Object 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_cr_last_updated cr_last_updated; public Xcls_tv_all_branches tv_all_branches; public Xcls_ok_button ok_button; @@ -862,7 +863,7 @@ public class Clones : Object // set gobject values this.el.title = "Last updated"; this.el.min_width = 50; - var child_0 = new Xcls_CellRendererText21( _this ); + var child_0 = new Xcls_cr_last_updated( _this ); child_0.ref(); this.el.pack_start ( child_0.el ); @@ -877,7 +878,7 @@ public class Clones : Object // user defined functions } - public class Xcls_CellRendererText21 : Object + public class Xcls_cr_last_updated : Object { public Gtk.CellRendererText el; private Clones _this; @@ -886,9 +887,10 @@ public class Clones : Object // my vars (def) // ctor - public Xcls_CellRendererText21(Clones _owner ) + public Xcls_cr_last_updated(Clones _owner ) { _this = _owner; + _this.cr_last_updated = this; this.el = new Gtk.CellRendererText(); // my vars (dec)