projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4dd3e0b
)
NewBranch.bjs
author
Alan Knowles
<alan@roojs.com>
Wed, 31 Oct 2018 05:38:43 +0000
(13:38 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 31 Oct 2018 05:38:43 +0000
(13:38 +0800)
NewBranch.vala
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
01593a5
..
3a7c393
100644
(file)
--- a/
NewBranch.bjs
+++ b/
NewBranch.bjs
@@
-10,7
+10,7
@@
{
"listeners" : {
"delete_event" : "(self, event) => {\n this.el.hide();\n return true; \n //test \n}\n ",
{
"listeners" : {
"delete_event" : "(self, event) => {\n this.el.hide();\n return true; \n //test \n}\n ",
- "response" : " (self, response_id) => { \n \n\t GLib.debug(\"got %d\", (int) response_id);\n}",
+ "response" : " (self, response_id) => { \n \n\t GLib.debug(\"got %d\", (int) response_id);\n
\t _this.el.hide();\n\t \n
}",
"show" : "(self) => {\n \n\n //test\n}"
},
"default_width" : 500,
"show" : "(self) => {\n \n\n //test\n}"
},
"default_width" : 500,
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
6866b45
..
13e34ec
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-52,6
+52,8
@@
public class NewBranch : Object
this.el.response.connect( (self, response_id) => {
GLib.debug("got %d", (int) response_id);
this.el.response.connect( (self, response_id) => {
GLib.debug("got %d", (int) response_id);
+ _this.el.hide();
+
});
this.el.show.connect( (self) => {
});
this.el.show.connect( (self) => {