fix statusicon

This commit is contained in:
Hylke Bons 2010-05-29 14:43:28 +02:00
parent 01d7e28375
commit 5dddb36345

View file

@ -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 ();
}
};