From 04472cf8452f04ffb7e71d851d97226f004e452c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 21 Mar 2019 13:50:16 +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 a536cf33..e0ce69b7 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -495,6 +495,7 @@ ] }, { + "id" : "quick_commit_tab", "bool homogeneous" : false, "* pack" : "append_page,_this.label_quick_commit.el", "xtype" : "Box", diff --git a/NewBranch.vala b/NewBranch.vala index 45d91b06..95a50207 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -45,6 +45,7 @@ public class NewBranch : Object public Xcls_clmodel clmodel; public Xcls_developer_id developer_id; public Xcls_devmodel devmodel; + public Xcls_quick_commit_tab quick_commit_tab; public Xcls_commit_message commit_message; public Xcls_createbtn createbtn; public Xcls_diff_view diff_view; @@ -198,7 +199,7 @@ public class NewBranch : Object 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 ); + var child_5 = new Xcls_quick_commit_tab( _this ); child_5.ref(); this.el.append_page ( child_5.el , _this.label_quick_commit.el ); } @@ -2177,7 +2178,7 @@ public class NewBranch : Object - public class Xcls_Box51 : Object + public class Xcls_quick_commit_tab : Object { public Gtk.Box el; private NewBranch _this; @@ -2186,9 +2187,10 @@ public class NewBranch : Object // my vars (def) // ctor - public Xcls_Box51(NewBranch _owner ) + public Xcls_quick_commit_tab(NewBranch _owner ) { _this = _owner; + _this.quick_commit_tab = this; this.el = new Gtk.Box( Gtk.Orientation.VERTICAL, 0 ); // my vars (dec) -- 2.39.2