summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-28 18:15:08 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-28 18:23:47 (EDT)
commitc3b90f59b72e5bbd0980098008bb94e53a0542b5 (patch)
tree808708b04c1772d5af9b15b7a2e47080197ee233 /src
parent1804f4f321f457622378a5c33f76671d246eaea9 (diff)
downloadmarquee-c3b90f59b72e5bbd0980098008bb94e53a0542b5.zip
marquee-c3b90f59b72e5bbd0980098008bb94e53a0542b5.tar.gz
marquee-c3b90f59b72e5bbd0980098008bb94e53a0542b5.tar.bz2
MqConfig: Add directories.* preferences
Diffstat (limited to 'src')
-rw-r--r--src/config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index ed2c4d9..8b46fb1 100644
--- a/src/config.c
+++ b/src/config.c
@@ -164,6 +164,11 @@ set_defaults(MqConfig *config)
SET_INT ("window.width", 1024);
SET_INT ("window.height", 768);
+ /* Hidden directory preferences */
+ SET_STR ("directories.open-file", "");
+ SET_STR ("directories.downloads",
+ g_get_user_special_dir(G_USER_DIRECTORY_DOWNLOAD));
+
config->types_and_cbs_set = TRUE;
}