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

NewBranch.bjs
NewBranch.vala

index 3dea9fb..50dd24f 100644 (file)
@@ -17,7 +17,7 @@
    "$ deletable" : true,
    "title" : "Create a working branch ",
    "xtype" : "Dialog",
-   "|   void show" : "( ) \n{\n     // this.el.set_gravity(Gdk.Gravity.NORTH);\n    \n    \n      \n}",
+   "|   void show" : "( ) \n{\n     // this.el.set_gravity(Gdk.Gravity.NORTH);\n     \n\tthis.el.move((Gdk.Screen.width() / 2)- 250 ,0);\n       \tGLib.debug(\"Loading tickets\"); \n \t_this.dbmodel.loadTickets();\n\n    this.el.show_all();\n\n\n \n    \n      \n}",
    "default_height" : 200,
    "$ xns" : "Gtk",
    "bool modal" : true,
index 2c63d36..edc4480 100644 (file)
@@ -64,7 +64,15 @@ public class NewBranch : Object
     public   void show ( ) 
     {
          // this.el.set_gravity(Gdk.Gravity.NORTH);
-        
+         
+       this.el.move((Gdk.Screen.width() / 2)- 250 ,0);
+               GLib.debug("Loading tickets"); 
+       _this.dbmodel.loadTickets();
+    
+        this.el.show_all();
+    
+    
+     
         
           
     }