don't pop up nautilus window when clone fails, show Add dialog instead
This commit is contained in:
parent
37972c42bf
commit
70438bf8d6
|
@ -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 ();
|
||||
|
||||
|
|
Loading…
Reference in a new issue