~ubuntu-branches/ubuntu/natty/monodevelop/natty

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Core/MonoDevelop.Core/PropertyService.cs

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-03-29 23:36:33 UTC
  • mto: (1.5.1 sid)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: james.westby@ubuntu.com-20080329233633-l550uuwvfh1e68at
Tags: upstream-1.0+dfsg
ImportĀ upstreamĀ versionĀ 1.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
                
49
49
                public static string ConfigPath {
50
50
                        get {
51
 
                                string configPath = Environment.GetEnvironmentVariable ("XDG_CONFIG_HOME");
52
 
                                if (String.IsNullOrEmpty (configPath))
53
 
                                        configPath = Path.Combine (Environment.GetEnvironmentVariable ("HOME"), ".config");
 
51
                                string configPath = Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData);
54
52
                                return Path.Combine (configPath, "MonoDevelop");
55
53
                        }
56
54
                }