Mercurial > geeqie
diff src/cache.c @ 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 | c4fcf8001574 |
| children | c45cc5cf3c4d |
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 {
