From: Alan Knowles Date: Mon, 17 Dec 2018 07:53:49 +0000 (+0800) Subject: Uncommited changes synced X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=bf8f29a508f7f49687e515067353866d70751c85 Uncommited changes synced --- diff --git a/NewBranch.bjs b/NewBranch.bjs index a218c914..5bc0316a 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -121,6 +121,9 @@ ] }, { + "listeners" : { + "clicked" : "() => {\n\tTicket.singleton().show(_this.repo);\n\n}" + }, "bool expand" : false, "* pack" : "attach_defaults,4,5,1,2", "xtype" : "Button", diff --git a/NewBranch.vala b/NewBranch.vala index 643489b2..c25a2dbe 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -601,6 +601,12 @@ public class NewBranch : Object // set gobject values this.el.expand = false; this.el.label = "New Ticket"; + + //listeners + this.el.clicked.connect( () => { + Ticket.singleton().show(_this.repo); + + }); } // user defined functions