From 5dddb3634501586f05b4775b96b9a6256b028fa0 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 29 May 2010 14:43:28 +0200 Subject: [PATCH] fix statusicon --- SparkleShare/SparkleRepo.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/SparkleShare/SparkleRepo.cs b/SparkleShare/SparkleRepo.cs index 11625531..1282853d 100644 --- a/SparkleShare/SparkleRepo.cs +++ b/SparkleShare/SparkleRepo.cs @@ -100,7 +100,7 @@ namespace SparkleShare { // Fetch remote changes every 20 seconds FetchTimer = new Timer (); - FetchTimer.Interval = 17500; + FetchTimer.Interval = 20000; FetchTimer.Elapsed += delegate { Fetch (); }; @@ -111,6 +111,7 @@ namespace SparkleShare { // Add everything that changed // since SparkleShare was stopped Add (); + Console.WriteLine ("[Git][" + Name + "] Nothing going on..."); } @@ -156,9 +157,7 @@ namespace SparkleShare { string Message = FormatCommitMessage (); if (!Message.Equals ("")) { Commit (Message); - Push (); Fetch (); - // Push again in case of a conflict Push (); } };