summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/params.c3
-rw-r--r--src/core/params.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/core/params.c b/src/core/params.c
index a3783d7..ce8b9ce 100644
--- a/src/core/params.c
+++ b/src/core/params.c
@@ -216,6 +216,9 @@ bool load_main_config_parameters(void)
param = g_generic_config_create_param(config, MPK_KEYBINDINGS_EDIT, CPT_STRING, "<Shift>F2");
if (param == NULL) return false;
+ param = g_generic_config_create_param(config, MPK_TMPDIR, CPT_STRING, "/tmp/chrysalide");
+ if (param == NULL) return false;
+
param = g_generic_config_create_param(config, MPK_AUTO_SAVE, CPT_BOOLEAN, true);
if (param == NULL) return false;
diff --git a/src/core/params.h b/src/core/params.h
index 60c57d4..4535b04 100644
--- a/src/core/params.h
+++ b/src/core/params.h
@@ -66,6 +66,7 @@
#define MPK_TOOLTIP_MAX_CALLS "gui.editor.views.tooltip_max_calls"
#define MPK_TOOLTIP_MAX_STRINGS "gui.editor.views.tooltip_max_strings"
#define MPK_KEYBINDINGS_EDIT "gui.key_bindings.global.edit"
+#define MPK_TMPDIR "misc.tmpdir"
#define MPK_AUTO_SAVE "project.autosave"