projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
424eebf
)
Uncommited changes synced
author
Alan Knowles
<alan@roojs.com>
Mon, 17 Dec 2018 07:53:49 +0000
(15:53 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 17 Dec 2018 07:53:49 +0000
(15:53 +0800)
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
a218c91
..
5bc0316
100644
(file)
--- 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
643489b
..
c25a2db
100644
(file)
--- 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