Clones.bjs
[gitlive] / Clones.vala
index 26d11e1..3018280 100644 (file)
@@ -70,15 +70,6 @@ public class Clones : Object
 
     // user defined functions
     public void loadAndShow () {
-       
-       _this.el.show_all();
-       
-       _this.toolbar.el.hide();
-       _this.scrolled.el.hide();
-       _this.spinner.el.show();
-       _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 ) - (int.max(1280,Gdk.Screen.width() / 2) ,0);
@@ -87,6 +78,15 @@ public class Clones : Object
                        int.max(1280,Gdk.Screen.width()),
                        int.max(500,Gdk.Screen.height() - 200)
        );
+       this.el.show_all();
+       
+       _this.toolbar.el.hide();
+       _this.scrolled.el.hide();
+       _this.spinner.el.show();
+       _this.spinner.el.start();       
+       
+       GitRepo.updateAll("show_clones");
+