projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fbcea4
)
NewBranch.bjs
author
Alan Knowles
<alan@roojs.com>
Thu, 21 Mar 2019 06:32:20 +0000
(14:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 21 Mar 2019 06:32:20 +0000
(14:32 +0800)
NewBranch.vala
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
895e259
..
83ea46f
100644
(file)
--- a/
NewBranch.bjs
+++ b/
NewBranch.bjs
@@
-539,6
+539,9
@@
"$ xns" : "Gtk"
},
{
+ "listeners" : {
+ "key_release_event" : "() => { \n\n\t_this.createbtn.updateState();\n}"
+ },
"id" : "commit_message",
"$ visible" : true,
"xtype" : "Entry",
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
e6408ba
..
40bf338
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-2376,6
+2376,12
@@
public class NewBranch : Object
// set gobject values
this.el.visible = true;
+
+ //listeners
+ this.el.key_release_event.connect( () => {
+
+ _this.createbtn.updateState();
+ });
}
// user defined functions