summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/params.c6
-rw-r--r--src/core/params.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/core/params.c b/src/core/params.c
index 52dae76..08b9604 100644
--- a/src/core/params.c
+++ b/src/core/params.c
@@ -156,6 +156,12 @@ bool load_main_config_parameters(void)
param = g_generic_config_create_param(config, MPK_DISPLAY_ON_SEL, CPT_BOOLEAN, false);
if (param == NULL) return false;
+ param = g_generic_config_create_param(config, MPK_WELCOME_STARTUP, CPT_BOOLEAN, true);
+ if (param == NULL) return false;
+
+ param = g_generic_config_create_param(config, MPK_WELCOME_CHECK, CPT_BOOLEAN, false);
+ if (param == NULL) return false;
+
param = g_generic_config_create_param(config, MPK_SELECTION_LINE, CPT_BOOLEAN, true);
if (param == NULL) return false;
diff --git a/src/core/params.h b/src/core/params.h
index 53f7483..7210ad0 100644
--- a/src/core/params.h
+++ b/src/core/params.h
@@ -46,6 +46,8 @@
#define MPK_ELLIPSIS_HEADER "gui.editor.panels.ellipsis_header"
#define MPK_ELLIPSIS_TAB "gui.editor.panels.ellipsis_tab"
#define MPK_DISPLAY_ON_SEL "gui.editor.panels.display_on_selection"
+#define MPK_WELCOME_STARTUP "gui.editor.panels.welcome.show_at_startup"
+#define MPK_WELCOME_CHECK "gui.editor.panels.welcome.check_version"
#define MPK_SELECTION_LINE "gui.editor.views.selection_line"
#define MPK_TOOLTIP_SIZE "gui.editor.views.tooltip_max_size"
#define MPK_KEYBINDINGS_EDIT "gui.key_bindings.global.edit"