From: Alan Knowles Date: Sat, 23 Sep 2017 05:26:26 +0000 (+0800) Subject: StatusIcon.vala X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=1de86136118a4e36ca84f009476c9b1680020e17 StatusIcon.vala --- diff --git a/StatusIcon.vala b/StatusIcon.vala index aa37ef0a..c8fc0074 100644 --- a/StatusIcon.vala +++ b/StatusIcon.vala @@ -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" : "";