Mercurial > geeqie
diff src/main.h @ 743:77ff94c0490a
Try to load a system-wide rc file if any, before per-user rc file.
For now, system-wide rc file path is set to /etc/geeqie/geeqierc
(defined by GQ_SYSTEM_WIDE_DIR in main.h).
filter_parse() was modified to replace entries having the same key,
needed since it may be called more than once.
Please test heavily.
author | zas_ |
---|---|
date | Fri, 23 May 2008 00:20:56 +0000 |
parents | 8a8873e7a552 |
children | e73d30e0c896 |
line wrap: on
line diff
--- a/src/main.h Thu May 22 23:22:12 2008 +0000 +++ b/src/main.h Fri May 23 00:20:56 2008 +0000 @@ -76,6 +76,8 @@ #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_SYSTEM_WIDE_DIR "/etc/" GQ_APPNAME_LC + #define RC_FILE_NAME GQ_APPNAME_LC "rc" #define ZOOM_RESET_ORIGINAL 0