From: Alan Knowles Date: Fri, 28 Dec 2018 06:54:51 +0000 (+0800) Subject: MergeBranch.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=ba252a6155267ebc1c8981698cdbbdf05bc265a9 MergeBranch.bjs MergeBranch.vala --- diff --git a/MergeBranch.bjs b/MergeBranch.bjs index da8e1501..9cd76a3c 100644 --- a/MergeBranch.bjs +++ b/MergeBranch.bjs @@ -152,6 +152,7 @@ "$ xns" : "Gtk" }, { + "id" : "label_ticket", "string label" : "Ticket Details", "* pack" : false, "xtype" : "Label", diff --git a/MergeBranch.vala b/MergeBranch.vala index 4acd1afa..c1df7196 100644 --- a/MergeBranch.vala +++ b/MergeBranch.vala @@ -21,6 +21,7 @@ public class MergeBranch : Object public Xcls_dbmodel dbmodel; public Xcls_name name; public Xcls_label_diff label_diff; + public Xcls_label_ticket label_ticket; public Xcls_scrolled_window scrolled_window; public Xcls_view view; public Xcls_spinner spinner; @@ -671,7 +672,7 @@ public class MergeBranch : Object this.el.vexpand = true; var child_0 = new Xcls_label_diff( _this ); child_0.ref(); - var child_1 = new Xcls_Label16( _this ); + var child_1 = new Xcls_label_ticket( _this ); child_1.ref(); } @@ -700,7 +701,7 @@ public class MergeBranch : Object // user defined functions } - public class Xcls_Label16 : Object + public class Xcls_label_ticket : Object { public Gtk.Label el; private MergeBranch _this; @@ -709,9 +710,10 @@ public class MergeBranch : Object // my vars (def) // ctor - public Xcls_Label16(MergeBranch _owner ) + public Xcls_label_ticket(MergeBranch _owner ) { _this = _owner; + _this.label_ticket = this; this.el = new Gtk.Label( "Ticket Details" ); // my vars (dec)