Clone.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 07:42:17 +0000 (15:42 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Dec 2018 07:42:17 +0000 (15:42 +0800)
Clone.vala

Clone.bjs
Clone.vala

index 7c3e5a9..d78b042 100644 (file)
--- a/Clone.bjs
+++ b/Clone.bjs
@@ -53,7 +53,7 @@
       },
       {
        "listeners" : {
-        "button_press_event" : "() => {\n       _this.el.hide();\n        return false;\n}"
+        "button_press_event" : "() => {\n     \n     var repo = _this.reposel.selectedRepo();\n        GitMonitor.gitmonitor.stop();\n        \n        GitMonitor.gitmonitor.start();\n     \n     \n       _this.el.hide();\n        return false;\n}"
        },
        "label" : "Checkout",
        "xtype" : "Button",
index 11e45b3..f5a30d5 100644 (file)
@@ -237,6 +237,13 @@ public class Clone : Object
 
             //listeners
             this.el.button_press_event.connect( () => {
+                 
+                 var repo = _this.reposel.selectedRepo();
+                    GitMonitor.gitmonitor.stop();
+                    
+                    GitMonitor.gitmonitor.start();
+                 
+                 
                    _this.el.hide();
                     return false;
             });