Fix progress delay when there was an error

This commit is contained in:
Hylke Bons 2012-03-01 17:48:05 +00:00
parent 72649641f8
commit 977c225e9f
3 changed files with 2 additions and 2 deletions

View file

@ -150,7 +150,6 @@ namespace SparkleLib.Git {
}
base.OnProgressChanged (100);
Thread.Sleep (1000);
InstallConfiguration ();
InstallExcludeRules ();

View file

@ -149,6 +149,7 @@ namespace SparkleLib {
this.thread = new Thread (new ThreadStart (delegate {
if (Fetch ()) {
Thread.Sleep (500);
SparkleHelpers.DebugInfo ("Fetcher", "Finished");
EnableHostKeyCheckingForHost (host);
@ -158,6 +159,7 @@ namespace SparkleLib {
Finished (Warnings);
} else {
Thread.Sleep (500);
SparkleHelpers.DebugInfo ("Fetcher", "Failed");
EnableHostKeyCheckingForHost (host);

View file

@ -374,7 +374,6 @@ namespace SparkleShare {
};
Program.Controller.FolderFetchError += delegate (string remote_url) {
Thread.Sleep (1000);
PreviousUrl = remote_url;
if (ChangePageEvent != null)