Ticket.bjs
[gitlive] / Clone.vala
index c7319fd..afad682 100644 (file)
@@ -237,7 +237,8 @@ public class Clone : Object
 
             //listeners
             this.el.button_press_event.connect( () => {
-                 
+                  _this.el.hide();
+                  Clones.singleton().el.hide();
                  var repo = _this.reposel.selectedRepo();
                     GitMonitor.gitmonitor.stop();
                     
@@ -260,16 +261,17 @@ public class Clone : Object
                    // may throw error...
                     var sp = new Spawn(cfg);
                   
-                       
-                    // parse output for some commands ?
+                        GLib.debug("Spawn: %s", sp.output);
+               
+                    
                     
                     
                     
                     
                     GitMonitor.gitmonitor.start();
-                 
-                 
-                   _this.el.hide();
+            
+                     GitRepo.updateAll("show_clones");
+                  
                     return false;
             });
         }