Mercurial > geeqie
diff src/main.h @ 1145:3a7af6a8cd5f
Use functions to return directories instead of constants.
Following functions were added:
get_collections_dir()
get_metadata_cache_dir()
get_rc_dir()
get_thumbnails_cache_dir()
get_trash_dir()
They return the full directory path.
author | zas_ |
---|---|
date | Sat, 15 Nov 2008 17:30:45 +0000 |
parents | 1646720364cf |
children | c4fcf8001574 |
line wrap: on
line diff
--- a/src/main.h Sat Nov 15 10:35:43 2008 +0000 +++ b/src/main.h Sat Nov 15 17:30:45 2008 +0000 @@ -71,9 +71,9 @@ #define GQ_WMCLASS GQ_APPNAME_LC -#define GQ_RC_DIR "." GQ_APPNAME_LC -#define GQ_RC_DIR_COLLECTIONS GQ_RC_DIR G_DIR_SEPARATOR_S "collections" -#define GQ_RC_DIR_TRASH GQ_RC_DIR G_DIR_SEPARATOR_S "trash" +#define GQ_RC_DIR "." GQ_APPNAME_LC +#define GQ_COLLECTIONS_DIR "collections" +#define GQ_TRASH_DIR "trash" #define GQ_SYSTEM_WIDE_DIR "/etc/" GQ_APPNAME_LC