fix entry selection by having proper cfg update and def fields

this should fix T5183
This commit is contained in:
Carsten Haitzler 2017-02-17 17:21:20 +09:00
parent ae80040331
commit b8af191a20
5 changed files with 11 additions and 4 deletions

View File

@ -1,5 +1,6 @@
group "Elm_Config" struct {
value "config_version" int: 131085;
value "config_version" int: 131086;
value "config_version" uchar: 1;
value "engine" string: "";
value "vsync" uchar: 0;
value "thumbscroll_enable" uchar: 1;

View File

@ -1,5 +1,6 @@
group "Elm_Config" struct {
value "config_version" int: 131085;
value "config_version" int: 131086;
value "config_version" uchar: 1;
value "engine" string: "";
value "vsync" uchar: 0;
value "thumbscroll_enable" uchar: 1;

View File

@ -1,5 +1,6 @@
group "Elm_Config" struct {
value "config_version" int: 131085;
value "config_version" int: 131086;
value "config_version" uchar: 1;
value "engine" string: "";
value "vsync" uchar: 0;
value "thumbscroll_enable" uchar: 0;

View File

@ -2165,6 +2165,10 @@ _config_update(void)
IFCFG(0x000b)
eina_stringshare_refplace(&_elm_config->modules, tcfg->modules);
IFCFGEND
IFCFG(0x000e)
_elm_config->entry_select_allow = EINA_TRUE;
IFCFGEND
/**
* Fix user config for current ELM_CONFIG_EPOCH here.
**/

View File

@ -131,7 +131,7 @@ struct _Elm_Theme
* the users config doesn't need to be wiped - simply new values need
* to be put in
*/
#define ELM_CONFIG_FILE_GENERATION 0x000B
#define ELM_CONFIG_FILE_GENERATION 0x000e
#define ELM_CONFIG_VERSION_EPOCH_OFFSET 16
#define ELM_CONFIG_VERSION ((ELM_CONFIG_EPOCH << ELM_CONFIG_VERSION_EPOCH_OFFSET) | \
ELM_CONFIG_FILE_GENERATION)