sync
[gitlive] / NewBranch.vala
index 583cb0e..6a48613 100644 (file)
@@ -59,6 +59,7 @@ public class NewBranch : Object
                if (response_id == 0) {
                    _this.el.hide();    
                    this.running = false; 
+                       GitMonitor.gitmonitor.start();      
                        return;
                }
                 
@@ -79,7 +80,7 @@ public class NewBranch : Object
                                this.repo.createBranchNamed(bn);
                        }
             }
-        
+               GitMonitor.gitmonitor.start();
                            this.running = false; 
         
                 
@@ -102,6 +103,8 @@ public class NewBranch : Object
         if (this.running) {
                return;
        }
+               GitMonitor.gitmonitor.stop();
+       
         this.repo = repo;
         
        this.el.move((Gdk.Screen.width() / 2)- 250 ,0);