X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=NewBranch.vala;h=bcb6a0b5640534dbeb8db1b90357600504fec569;hp=15a40f84c1cb10f774af94acb4a2692838db2607;hb=d5b2b1810b920459f527a2be1dbaad465c313c49;hpb=a24b731810fce5cd4e06d8a1e5dc0d45d1ac267e diff --git a/NewBranch.vala b/NewBranch.vala index 15a40f84..bcb6a0b5 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -56,6 +56,14 @@ public class NewBranch : Object 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(); + this.el.run(); //test @@ -66,15 +74,7 @@ public class NewBranch : Object public void show ( ) { // this.el.set_gravity(Gdk.Gravity.NORTH); - this.el.move((Gdk.Screen.width() / 2)- 250 ,0); - - - this.el.show_all(); - _this.dbmodel.loadTickets(); - - - }