summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-04-10 21:57:38 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-04-10 21:57:38 (GMT)
commitb66aa52128ad47d7130f087509535989d507d15b (patch)
tree6d736f35ab0fc25f9ec47ef40efa90c6812c254c /src/core
parentf38d8af1713a2a46a8c2d4499081bd0d123af163 (diff)
Extended the behavior of the strings panel.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@508 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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 5e91faf..75722b6 100644
--- a/src/core/params.c
+++ b/src/core/params.c
@@ -153,6 +153,9 @@ bool load_main_config_parameters(void)
param = g_generic_config_create_param(config, MPK_ELLIPSIS_TAB, CPT_INTEGER, 35);
if (param == NULL) return false;
+ 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_KEYBINDINGS_EDIT, CPT_STRING, "<Shift>F2");
if (param == NULL) return false;
diff --git a/src/core/params.h b/src/core/params.h
index 6f8d62f..9eac629 100644
--- a/src/core/params.h
+++ b/src/core/params.h
@@ -45,6 +45,7 @@
#define MPK_MAXIMIZED "gui.editor.start_maximized"
#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_KEYBINDINGS_EDIT "gui.key_bindings.global.edit"
#define MPK_AUTO_SAVE "project.autosave"