Clones.bjs
[gitlive] / Clones.vala
index 0c0f9b2..f118335 100644 (file)
@@ -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..