X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Clones.vala;h=e40ff4bd20781ef93cd32610f0a9fd2eb9005b85;hb=02686501f35afec51b24a4cc484be9218d7ff28e;hp=53cad27b4527e1a6024895fc59727fbf353a7929;hpb=7131f4aef58b39ee4edff6310a6371eb2277fdb8;p=gitlive diff --git a/Clones.vala b/Clones.vala index 53cad27b..e40ff4bd 100644 --- a/Clones.vala +++ b/Clones.vala @@ -79,26 +79,40 @@ public class Clones : Object _this.spinner.el.start(); GitRepo.updateAll("show_clones"); - + this.el.set_deletable(true); + this.el.set_gravity(Gdk.Gravity.NORTH); + this.el.move((Gdk.Screen.width() / 2 ) -400 ,0); + this.el.set_keep_above(true); + this.el.set_default_size( + int.min(1024,Gdk.Screen.width()), + int.max(500,Gdk.Screen.height() - 300) + ); + + } public void show () { - GLib.debug("show clones?"); + this.el.show_all(); + _this.spinner.el.stop(); + _this.spinner.el.hide(); + _this.toolbar.el.show(); + _this.scrolled.el.show(); + this.el.set_deletable(true); this.el.set_gravity(Gdk.Gravity.NORTH); this.el.move((Gdk.Screen.width() / 2 ) -400 ,0); - + this.el.set_keep_above(true); this.el.set_default_size( int.min(1024,Gdk.Screen.width()), int.max(500,Gdk.Screen.height() - 300) ); - this.el.show_all(); + _this.reposStore.load(); - this.el.set_keep_above(true); - GLib.debug("show clones = run?"); + + GLib.debug("show clones = run?"); this.el.run(); // load clones.. // this.get('/reposStore').load();