Mercurial > geeqie
changeset 1153:b83e280ab7cc
Change metadata directory to be $XDG_DATA_HOME instead of $XDG_CACHE_HOME as discussed on the ml (obviously it has impact only when XDG support is set). Suggestion by Omari Stephens.
author | zas_ |
---|---|
date | Mon, 17 Nov 2008 17:09:44 +0000 |
parents | 507600811ccd |
children | 8ebeab4d6987 |
files | src/cache.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cache.c Mon Nov 17 07:10:32 2008 +0000 +++ b/src/cache.c Mon Nov 17 17:09:44 2008 +0000 @@ -787,7 +787,11 @@ if (USE_XDG) { - metadata_cache_dir = g_build_filename(xdg_cache_home_get(), GQ_APPNAME_LC, GQ_CACHE_METADATA, NULL); + /* Metadata go to $XDG_DATA_HOME. + * "Keywords and comments, among other things, are irreplaceable and cannot be auto-generated, + * so I don't think they'd be appropriate for the cache directory." -- Omari Stephens on geeqie-devel ml + */ + metadata_cache_dir = g_build_filename(xdg_data_home_get(), GQ_APPNAME_LC, GQ_CACHE_METADATA, NULL); } else {