windows: don't use subfolder as root when opening a folder in Explorer.exe. Fixes #617

This commit is contained in:
Hylke Bons 2012-03-09 20:38:27 +00:00
parent ba985efe82
commit f60c3060d4
2 changed files with 1 additions and 3 deletions

View file

@ -186,8 +186,7 @@ namespace SparkleShare {
{
Process process = new Process ();
process.StartInfo.FileName = "explorer";
process.StartInfo.Arguments = ",/root," +
Path.Combine (SparkleConfig.DefaultConfig.FoldersPath, subfolder);
process.StartInfo.Arguments = Path.Combine (SparkleConfig.DefaultConfig.FoldersPath, subfolder);
process.Start();
}

View file

@ -24,7 +24,6 @@ using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using Drawing = System.Drawing;
using Forms = System.Windows.Forms;