StatusIcon.vala
authorAlan Knowles <alan@roojs.com>
Sat, 23 Sep 2017 05:26:26 +0000 (13:26 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 23 Sep 2017 05:26:26 +0000 (13:26 +0800)
StatusIcon.vala

index aa37ef0..c8fc007 100644 (file)
@@ -313,11 +313,10 @@ public class StatusIconA : StatusIcon {
                     //try {
                         statusicon.set_tooltip_text("pull: " + repo.name);
                         var str = "";
-                        repo.pull_async.begin((obj, syncres) => {
+                        repo.pull_async((string res) => {
                         
-                               var res = fetch_webpage.end(syncres);
                                total--;`
-                               if (!Regex.match_simple ("Already up-to-date", str) ) {
+                               if (!Regex.match_simple ("Already up-to-date", res) ) {
                                         
                                
                                                str += str.length > 0 ? "\n" : "";