StatusIcon.vala
authorAlan Knowles <alan@roojs.com>
Wed, 1 Aug 2018 09:39:30 +0000 (17:39 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 1 Aug 2018 09:39:30 +0000 (17:39 +0800)
StatusIcon.vala

index e3721fe..8f20f37 100644 (file)
@@ -352,8 +352,10 @@ public class StatusIconA : StatusIcon {
  
                        }
                        if (this.total < 1) {
-                               if (this.has_error) {
-                                       GitMonitor.gitmonitor.pauseError(
+                               if (this.has_error > 0) {
+                                       GitMonitor.gitmonitor.pauseError(this.pull_all_error_message);
+                                       return;
+                               }
                        
                                statusicon.set_tooltip_text("Gitlive");