don't pop up nautilus window when clone fails, show Add dialog instead

This commit is contained in:
Hylke Bons 2010-06-12 23:36:08 +01:00
parent 37972c42bf
commit 70438bf8d6

View file

@ -165,19 +165,14 @@ namespace SparkleShare {
"network connection.");
ErrorBubble.AddAction ("", _("Try Again…"),
delegate {
Process.StartInfo.FileName = "xdg-open";
Process.StartInfo.Arguments =
SparkleHelpers.CombineMore
(SparklePaths.SparklePath, RepoName);
Process.Start ();
}
);
delegate {
SparkleDialog SparkleDialog =
new SparkleDialog (RepoRemoteUrl);
SparkleDialog.ShowAll ();
}
);
ErrorBubble.Show ();
SparkleDialog SparkleDialog = new SparkleDialog (RepoRemoteUrl);
SparkleDialog.ShowAll ();
Destroy ();