diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/params.c | 5 | ||||
-rw-r--r-- | src/core/params.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/core/params.c b/src/core/params.c index a82f186..bf662a1 100644 --- a/src/core/params.c +++ b/src/core/params.c @@ -207,7 +207,10 @@ bool load_main_config_parameters(void) param = g_generic_config_create_param(config, MPK_SELECTION_LINE, CPT_BOOLEAN, true); if (param == NULL) return false; - param = g_generic_config_create_param(config, MPK_TOOLTIP_SIZE, CPT_INTEGER, 8); + param = g_generic_config_create_param(config, MPK_TOOLTIP_MAX_CALLS, CPT_INTEGER, 5); + if (param == NULL) return false; + + param = g_generic_config_create_param(config, MPK_TOOLTIP_MAX_STRINGS, CPT_INTEGER, 5); if (param == NULL) return false; param = g_generic_config_create_param(config, MPK_KEYBINDINGS_EDIT, CPT_STRING, "<Shift>F2"); diff --git a/src/core/params.h b/src/core/params.h index 9bbffc6..ee5583f 100644 --- a/src/core/params.h +++ b/src/core/params.h @@ -63,7 +63,8 @@ #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_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_AUTO_SAVE "project.autosave" |