From 956fae39b62b0db6fb62ecbea294624f90f42358 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 21 Mar 2019 13:50:03 +0800 Subject: [PATCH] NewBranch.bjs NewBranch.vala --- NewBranch.bjs | 1 + NewBranch.vala | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/NewBranch.bjs b/NewBranch.bjs index 83646e90..a536cf33 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -243,6 +243,7 @@ ] }, { + "id" : "create_ticket_tab", "bool homogeneous" : false, "xtype" : "Box", "* pack" : "append_page,_this.label_create_ticket.el", diff --git a/NewBranch.vala b/NewBranch.vala index 4ab84531..45d91b06 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -28,6 +28,7 @@ public class NewBranch : Object public Xcls_btn_closed btn_closed; public Xcls_scrolled_window scrolled_window; public Xcls_view view; + public Xcls_create_ticket_tab create_ticket_tab; public Xcls_table table; public Xcls_project_id project_id; public Xcls_tprcellrenderer tprcellrenderer; @@ -194,7 +195,7 @@ public class NewBranch : Object var child_3 = new Xcls_select_ticket_tab( _this ); child_3.ref(); this.el.append_page ( child_3.el , _this.label_select_ticket.el ); - var child_4 = new Xcls_Box25( _this ); + var child_4 = new Xcls_create_ticket_tab( _this ); child_4.ref(); this.el.append_page ( child_4.el , _this.label_create_ticket.el ); var child_5 = new Xcls_Box51( _this ); @@ -1073,7 +1074,7 @@ public class NewBranch : Object - public class Xcls_Box25 : Object + public class Xcls_create_ticket_tab : Object { public Gtk.Box el; private NewBranch _this; @@ -1082,9 +1083,10 @@ public class NewBranch : Object // my vars (def) // ctor - public Xcls_Box25(NewBranch _owner ) + public Xcls_create_ticket_tab(NewBranch _owner ) { _this = _owner; + _this.create_ticket_tab = this; this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 ); // my vars (dec) -- 2.39.2