From 4245c26b6d80b90dac40d928612d580093ed9a5e Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 29 May 2011 02:50:42 +0100 Subject: [PATCH] log: fix Open Folder button --- SparkleShare/SparkleLinController.cs | 1 - SparkleShare/SparkleLog.cs | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/SparkleShare/SparkleLinController.cs b/SparkleShare/SparkleLinController.cs index 408bfba6..09f616d6 100644 --- a/SparkleShare/SparkleLinController.cs +++ b/SparkleShare/SparkleLinController.cs @@ -199,7 +199,6 @@ namespace SparkleShare { return; string folder = SparkleHelpers.CombineMore (SparklePaths.SparklePath, subfolder); - Process process = new Process (); process.StartInfo.Arguments = folder.Replace (" ", "\\ "); // Escape space-characters process.StartInfo.FileName = "xdg-open"; diff --git a/SparkleShare/SparkleLog.cs b/SparkleShare/SparkleLog.cs index 97e3465f..f26e2067 100644 --- a/SparkleShare/SparkleLog.cs +++ b/SparkleShare/SparkleLog.cs @@ -122,10 +122,7 @@ namespace SparkleShare { }; open_folder_button.Clicked += delegate (object o, EventArgs args) { - Process process = new Process (); - process.StartInfo.FileName = "xdg-open"; - process.StartInfo.Arguments = LocalPath.Replace (" ", "\\ "); // Escape space-characters - process.Start (); + SparkleShare.Controller.OpenSparkleShareFolder (LocalPath); }; Button close_button = new Button (Stock.Close);