diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-09-08 21:01:58 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-09-08 21:01:58 (GMT) |
commit | c03635088f26a18cdbd42c2528f00b9ccd8591d9 (patch) | |
tree | 9e9476353a137465c1f1595a89d859712df38136 /src/core | |
parent | d7f0eeafe11369f20f001e43570a58a712af83f2 (diff) |
Added a few configuration parameters for the main window.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@400 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/params.c | 6 | ||||
-rw-r--r-- | src/core/params.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/core/params.c b/src/core/params.c index fdcbe3f..5e91faf 100644 --- a/src/core/params.c +++ b/src/core/params.c @@ -138,9 +138,15 @@ bool load_main_config_parameters(void) param = g_generic_config_create_param(config, MPK_FORMAT_NO_NAME, CPT_BOOLEAN, false); if (param == NULL) return false; + param = g_generic_config_create_param(config, MPK_TITLE_BAR, CPT_BOOLEAN, true); + if (param == NULL) return false; + param = g_generic_config_create_param(config, MPK_LAST_PROJECT, CPT_STRING, NULL); if (param == NULL) return false; + param = g_generic_config_create_param(config, MPK_MAXIMIZED, CPT_BOOLEAN, true); + if (param == NULL) return false; + param = g_generic_config_create_param(config, MPK_ELLIPSIS_HEADER, CPT_INTEGER, 54); if (param == NULL) return false; diff --git a/src/core/params.h b/src/core/params.h index 3e78945..6f8d62f 100644 --- a/src/core/params.h +++ b/src/core/params.h @@ -40,7 +40,9 @@ #define MPK_LOCAL_PORT "cdb.network.local.port" #define MPK_SERVER_BACKLOG "cdb.network.server.backlog" #define MPK_FORMAT_NO_NAME "format.symbols.use_phy_instead_of_virt" +#define MPK_TITLE_BAR "gui.editor.hide_titlebar" #define MPK_LAST_PROJECT "gui.editor.last_project" +#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_KEYBINDINGS_EDIT "gui.key_bindings.global.edit" |