diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2014-03-05 03:49:30 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2014-03-05 21:33:10 +0400 |
commit | 5641719c2878ed0bf6cd4332cefa792bcb930b1c (patch) | |
tree | d02edcaf81aec798114379125c94a517e36cb385 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop | |
parent | d3a773658e7bbb431a9edfa35b918083978838bd (diff) |
[Ide] BXC13079 - "Open Containing Folder" always throws an error
You can't convert a filename to a URL simply by adding a file://
prefix, and Process.Start accepts filenames anyway.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop/PlatformService.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop/PlatformService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop/PlatformService.cs index d855a738aa..610a0462e4 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop/PlatformService.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Desktop/PlatformService.cs @@ -63,12 +63,12 @@ namespace MonoDevelop.Ide.Desktop public virtual void OpenFile (string filename) { - Process.Start ("file://" + filename); + Process.Start (filename); } public virtual void OpenFolder (FilePath folderPath) { - Process.Start ("file://" + folderPath); + Process.Start (folderPath); } public virtual void ShowUrl (string url) @@ -463,4 +463,4 @@ namespace MonoDevelop.Ide.Desktop } } } -}
\ No newline at end of file +} |