path: root/src/Resources/Icons
diff options
authorDavid Foerster <>2016-03-31 12:36:21 +0200
committerDavid Foerster <>2016-03-31 12:36:21 +0200
commit7d7c09e7184214f4e05621dfc467f6e117b1411f (patch)
treed63b529e28e4bb83dcb714e028b78d7cb4718238 /src/Resources/Icons
parent39eae0e4c3d4e392feffd19b4e3b9449534d5426 (diff)
Use XDG_CONFIG_HOME to determine the path of the configuration
Adhere to XDG Desktop Specification and use the environment variable XDG_CONFIG_HOME to determine location of configuration files on *all* platforms. If it is unset or empty resort to platform-specific defaults. On Windows and OS X, `wxStandardPaths` provides correct defaults (equal to the previous hard-coded paths) but on Linux and other Unices `~/.config/appinfo` would be better than `~/.appinfo`. This means we treat those platforms as a special case. It also means that we may need to fall back to the legacy location if it exists but the new location doesn't.
Diffstat (limited to 'src/Resources/Icons')
0 files changed, 0 insertions, 0 deletions