X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=NewBranch.vala;h=4342b5b28565e0ad0f87b3f4b7acc0b4ced174dc;hb=45f9b1a56e347c7b5a3c98166a8f40af32829a3e;hp=c25a2dbe6d3ec86d852151991fd50cd0eeba68ee;hpb=bf8f29a508f7f49687e515067353866d70751c85;p=gitlive diff --git a/NewBranch.vala b/NewBranch.vala index c25a2dbe..4342b5b2 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -110,8 +110,7 @@ public class NewBranch : Object this.repo = repo; - - + this.el.move((Gdk.Screen.width() / 2)- 250 ,0); this.el.set_default_size( 500,200); // not sure why it grows.. @@ -544,8 +543,8 @@ public class NewBranch : Object RooTicket.singleton().loadTickets( project_id, - _this.btn_not_me.el.active ? RooTicket.NotMe.TRUE : RooTicket.NotMe.FALSE, - _this.btn_closed.el.active ? RooTicket.Closed.TRUE : RooTicket.Closed.FALSE + _this.btn_not_me.el.active ? RooTicket.Who.ANYBODY : RooTicket.Who.ME, + _this.btn_closed.el.active ? RooTicket.Status.ALL : RooTicket.Status.ACTIVE ); _this.ticketsel.loading = true; @@ -604,6 +603,7 @@ public class NewBranch : Object //listeners this.el.clicked.connect( () => { + _this.el.response(-1); Ticket.singleton().show(_this.repo); });