NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 10:15:44 +0000 (18:15 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 10:15:44 +0000 (18:15 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index 1c0bbc3..00483b3 100644 (file)
@@ -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,
index bcb6a0b..d19df7b 100644 (file)
@@ -63,9 +63,7 @@ public class NewBranch : Object
             this.el.show_all();
                GLib.debug("Loading tickets");
                _this.dbmodel.loadTickets();
-                   
-        
-          this.el.run();
+         
           //test
         });
     }