From 70438bf8d646fff2da845e675ff76caddaf8c247 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 12 Jun 2010 23:36:08 +0100 Subject: [PATCH] don't pop up nautilus window when clone fails, show Add dialog instead --- SparkleShare/SparkleDialog.cs | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/SparkleShare/SparkleDialog.cs b/SparkleShare/SparkleDialog.cs index 58e962c3..fd717b06 100644 --- a/SparkleShare/SparkleDialog.cs +++ b/SparkleShare/SparkleDialog.cs @@ -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 ();