projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f6ea95a
)
NewBranch.bjs
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 08:57:22 +0000
(16:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 08:57:22 +0000
(16:57 +0800)
NewBranch.vala
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
69d3dfb
..
b6660ab
100644
(file)
--- a/
NewBranch.bjs
+++ b/
NewBranch.bjs
@@
-10,15
+10,15
@@
{
"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 \n}",
- "show" : "(self) => {\n this.el.
show_all
();\n //test\n}"
+ "response" : " (self, response_id) => { \n \n\t
GLib.log(\"got %d\", reponse_id)
\n}",
+ "show" : "(self) => {\n this.el.
run
();\n //test\n}"
},
"id" : "DialogNewComponent",
"default_width" : 500,
"$ deletable" : true,
"title" : "Create a working branch ",
"xtype" : "Dialog",
},
"id" : "DialogNewComponent",
"default_width" : 500,
"$ deletable" : true,
"title" : "Create a working branch ",
"xtype" : "Dialog",
- "| void show" : "( ) \n{\n \n \n //this.success = c.success;\n \n \n}",
+ "| void show" : "( ) \n{\n \n
this.show();
\n //this.success = c.success;\n \n \n}",
"default_height" : 200,
"$ modal" : true,
"$ xns" : "Gtk",
"default_height" : 200,
"$ modal" : true,
"$ xns" : "Gtk",
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
0d23258
..
6bbbd01
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-51,10
+51,10
@@
public class Xcls_DialogNewComponent : Object
});
this.el.response.connect( (self, response_id) => {
});
this.el.response.connect( (self, response_id) => {
-
+ GLib.log("got %d", reponse_id)
});
this.el.show.connect( (self) => {
});
this.el.show.connect( (self) => {
- this.el.
show_all
();
+ this.el.
run
();
//test
});
}
//test
});
}
@@
-63,7
+63,7
@@
public class Xcls_DialogNewComponent : Object
public void show ( )
{
public void show ( )
{
-
+ this.show();
//this.success = c.success;
//this.success = c.success;