projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e3c663a
)
NewBranch.bjs
author
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 10:16:50 +0000
(18:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 30 Oct 2018 10:16:50 +0000
(18:16 +0800)
NewBranch.vala
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
00483b3
..
3dea9fb
100644
(file)
--- a/
NewBranch.bjs
+++ b/
NewBranch.bjs
@@
-11,7
+11,7
@@
"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}",
"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}",
- "show" : "(self) => {\n \n
\n\tthis.el.move((Gdk.Screen.width() / 2)- 250 ,0);\n \n \n \n this.el.show_all();\n\tGLib.debug(\"Loading tickets\");\n\t_this.dbmodel.loadTickets();\n
\n //test\n}"
+ "show" : "(self) => {\n \n\n //test\n}"
},
"default_width" : 500,
"$ deletable" : true,
},
"default_width" : 500,
"$ deletable" : true,
@@
-19,8
+19,8
@@
"xtype" : "Dialog",
"| void show" : "( ) \n{\n // this.el.set_gravity(Gdk.Gravity.NORTH);\n \n \n \n}",
"default_height" : 200,
"xtype" : "Dialog",
"| void show" : "( ) \n{\n // this.el.set_gravity(Gdk.Gravity.NORTH);\n \n \n \n}",
"default_height" : 200,
- "$ modal" : true,
"$ xns" : "Gtk",
"$ xns" : "Gtk",
+ "bool modal" : true,
"items" : [
{
"xtype" : "VBox",
"items" : [
{
"xtype" : "VBox",
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
d19df7b
..
2c63d36
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-55,15
+55,7
@@
public class NewBranch : Object
});
this.el.show.connect( (self) => {
});
this.el.show.connect( (self) => {
-
- this.el.move((Gdk.Screen.width() / 2)- 250 ,0);
-
-
-
- this.el.show_all();
- GLib.debug("Loading tickets");
- _this.dbmodel.loadTickets();
-
+
//test
});
}
//test
});
}