From 8652476cb7e9810c74ecd50ae0ebef6ad7b6c51e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 21 Mar 2019 13:04:38 +0800 Subject: [PATCH] NewBranch.bjs NewBranch.vala --- NewBranch.bjs | 2 +- NewBranch.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NewBranch.bjs b/NewBranch.bjs index d6eefc10..39221333 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -536,7 +536,7 @@ "| void updateState" : "() {\n\n\tvar ticket_id = _this.ticketsel.selectedTicketId();\n\t\n\tif (ticket_id == \"\") {\n\t\tthis.el.set_sensitive(false);\n\t\treturn;\n\t}\n \n\tthis.el.set_sensitive(true);\n \n}\n", "* init" : "{\n this.el.get_style_context().add_class(\"suggested-action\");\n}\n", "xtype" : "Button", - "* pack" : "attach_defaults,4,5,4,5", + "* pack" : "attach_defaults,4,5,1,2", "$ xns" : "Gtk" } ] diff --git a/NewBranch.vala b/NewBranch.vala index c4c372da..4276e91b 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -2208,7 +2208,7 @@ public class NewBranch : Object this.el.attach_defaults ( child_1.el , 0,4,1,2 ); var child_2 = new Xcls_createbtn( _this ); child_2.ref(); - this.el.attach_defaults ( child_2.el , 4,5,4,5 ); + this.el.attach_defaults ( child_2.el , 4,5,1,2 ); } // user defined functions -- 2.39.2