X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=Clones.vala;h=f118335bcdd3b209be25ee21dc5795bc877d381a;hp=0c0f9b25cb19883df6a7ab856b1d74c329bc14b5;hb=2a4f260605df6eeadaf0c9471d7721fccca74598;hpb=d57a324093cd68867c836972fb70d57fea2ae693 diff --git a/Clones.vala b/Clones.vala index 0c0f9b25..f118335b 100644 --- a/Clones.vala +++ b/Clones.vala @@ -79,7 +79,16 @@ 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) + ); + + this.el.show_all(); } @@ -90,12 +99,11 @@ public class Clones : Object _this.spinner.el.hide(); _this.toolbar.el.show(); _this.scrolled.el.show(); - - GLib.debug("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) @@ -103,7 +111,7 @@ public class Clones : Object this.el.show_all(); _this.reposStore.load(); - this.el.set_keep_above(true); + GLib.debug("show clones = run?"); this.el.run(); // load clones..