don't pop up nautilus window when clone fails, show Add dialog instead
This commit is contained in:
parent
37972c42bf
commit
70438bf8d6
|
@ -165,20 +165,15 @@ namespace SparkleShare {
|
||||||
"network connection.");
|
"network connection.");
|
||||||
|
|
||||||
ErrorBubble.AddAction ("", _("Try Again…"),
|
ErrorBubble.AddAction ("", _("Try Again…"),
|
||||||
delegate {
|
delegate {
|
||||||
Process.StartInfo.FileName = "xdg-open";
|
SparkleDialog SparkleDialog =
|
||||||
Process.StartInfo.Arguments =
|
new SparkleDialog (RepoRemoteUrl);
|
||||||
SparkleHelpers.CombineMore
|
SparkleDialog.ShowAll ();
|
||||||
(SparklePaths.SparklePath, RepoName);
|
}
|
||||||
Process.Start ();
|
);
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
ErrorBubble.Show ();
|
ErrorBubble.Show ();
|
||||||
|
|
||||||
SparkleDialog SparkleDialog = new SparkleDialog (RepoRemoteUrl);
|
|
||||||
SparkleDialog.ShowAll ();
|
|
||||||
|
|
||||||
Destroy ();
|
Destroy ();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue