diff options
author | Michael Hutchinson <mhutchinson@novell.com> | 2011-02-11 22:21:02 +0300 |
---|---|---|
committer | Michael Hutchinson <mhutchinson@novell.com> | 2011-02-15 00:59:11 +0300 |
commit | 7727c4297d6efe43d1ef05ed80158b67e1e5b41f (patch) | |
tree | f65d86a8d9e61dd67d64f46240bd2dad7b27f37a /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution | |
parent | 3ac8cc10bfec18faf8680c2b88811cb0e0ecf8fe (diff) |
Fix user data locations
Put user data in the appropriate places for the OS
and data type. Profiles are now also per MD version,
but we migrate data from the previous version.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs index 0c53a72576..6c5790cdaf 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/ExecutionModeCommandService.cs @@ -324,7 +324,7 @@ namespace MonoDevelop.Ide.Execution if (globalModes == null) { try { XmlDataSerializer ser = new XmlDataSerializer (GetDataContext ()); - FilePath file = PropertyService.ConfigPath.Combine ("custom-command-modes.xml"); + FilePath file = PropertyService.Locations.Config.Combine ("custom-command-modes.xml"); if (File.Exists (file)) globalModes = (CustomExecutionModes) ser.Deserialize (file, typeof(CustomExecutionModes)); } catch (Exception ex) { @@ -343,7 +343,7 @@ namespace MonoDevelop.Ide.Execution return; try { XmlDataSerializer ser = new XmlDataSerializer (GetDataContext ()); - FilePath file = PropertyService.ConfigPath.Combine ("custom-command-modes.xml"); + FilePath file = PropertyService.Locations.Config.Combine ("custom-command-modes.xml"); ser.Serialize (file, globalModes, typeof(CustomExecutionModes)); } catch (Exception ex) { LoggingService.LogError ("Could not save global custom execution modes.", ex); |