StatusIcon.vala
[gitlive] / StatusIcon.vala
index 670073e..7230e28 100644 (file)
@@ -296,7 +296,8 @@ public class StatusIconA : StatusIcon {
             {
                        var tr = GitRepo.list();
                 
-                
+                GitMonitor.gitmonitor.stop();
+                    
                 
                 var total = tr.length;
                 
@@ -312,9 +313,10 @@ public class StatusIconA : StatusIcon {
                     //try {
                         statusicon.set_tooltip_text("pull: " + repo.name);
                         var str = "";
-                        repo.pull_async((out result) {
-                               total--;`
-                               if (!Regex.match_simple ("Already up-to-date", str) ) {
+                        repo.pull_async((res) => {
+                        
+                               total--;
+                               if (!Regex.match_simple ("Already up-to-date", res) ) {
                                         
                                
                                                str += str.length > 0 ? "\n" : "";
@@ -347,7 +349,7 @@ public class StatusIconA : StatusIcon {
                    // }        
 
                 } 
-                statusicon.set_tooltip_text("Gitlive");
+