summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-09-21 19:29:39 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-09-21 19:29:39 (GMT)
commitb6afbe8c699ae76443628badae33beee9934c6bc (patch)
tree69878624d3ae529314a9824f0c0ceca8bca617b7 /src/core
parent291968f4f4a5e85f6963813a43f2176320fb8d49 (diff)
Provided a real welcome panel at startup, with tricks and actions.
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"