diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-07-15 12:52:47 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-07-17 17:08:51 +0400 |
commit | e32ededdecb29ed6f18f0e094daa54a358b52cf5 (patch) | |
tree | 3db57ba875c6260cffcf76d8ac156088cdc54618 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs | |
parent | 584eeb946d4041d3cbf81bcbafa457958e645292 (diff) |
[Core] Move Platform detection code to Platform class
This means we can detect the platform without initializing
the PropertyService.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs index aba80b9063..3af97d75cb 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs @@ -115,7 +115,7 @@ namespace MonoDevelop.Ide.Gui.OptionPanels }; //set a platform-dependent default folder for the dialog if possible - if (PropertyService.IsWindows) { + if (Platform.IsWindows) { string folder = Environment.GetFolderPath (Environment.SpecialFolder.ProgramFilesX86); if (!string.IsNullOrEmpty (folder) && System.IO.Directory.Exists (folder)) dlg.CurrentFolder = folder; |