log: fix Open Folder button
This commit is contained in:
parent
81a17653e0
commit
4245c26b6d
|
@ -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";
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue