repo: fix listener connecting

This commit is contained in:
Hylke Bons 2011-05-23 01:18:10 +01:00
parent 1bbf352028
commit 5a0c45bc6a
2 changed files with 1 additions and 2 deletions

View file

@ -88,7 +88,6 @@ namespace SparkleLib {
if (hg.ExitCode == 0) { if (hg.ExitCode == 0) {
return true; return true;
//FetchRebaseAndPush ();TODO
} else { } else {
return false; return false;
} }

View file

@ -113,7 +113,7 @@ namespace SparkleLib {
SyncDownBase (); SyncDownBase ();
} }
if (this.is_polling && !this.listener.IsConnecting) if (this.is_polling && !this.listener.IsConnecting && !this.listener.IsConnected)
this.listener.Connect (); this.listener.Connect ();
// In the unlikely case that we haven't synced up our // In the unlikely case that we haven't synced up our