log: fix Open Folder button

This commit is contained in:
Hylke Bons 2011-05-29 02:50:42 +01:00
parent 81a17653e0
commit 4245c26b6d
2 changed files with 1 additions and 5 deletions

View file

@ -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";

View file

@ -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);