From: Alan Knowles Date: Tue, 30 Oct 2018 10:15:44 +0000 (+0800) Subject: NewBranch.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=e3c663a218985b982923470676563178a372acaf NewBranch.bjs NewBranch.vala --- diff --git a/NewBranch.bjs b/NewBranch.bjs index 1c0bbc38..00483b30 100644 --- 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}", - "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\t \n\n this.el.run();\n //test\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}" }, "default_width" : 500, "$ deletable" : true, diff --git a/NewBranch.vala b/NewBranch.vala index bcb6a0b5..d19df7b3 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -63,9 +63,7 @@ public class NewBranch : Object this.el.show_all(); GLib.debug("Loading tickets"); _this.dbmodel.loadTickets(); - - - this.el.run(); + //test }); }