config: try to properly update config for popup new align value.

This idea has been suggested by Andrew Williams and I hope it does work
just fine. Please report any problem.

@fix

T3008
This commit is contained in:
Cedric BAIL 2016-01-14 15:49:22 -08:00
parent 2d871335bd
commit 73a2d0e231
2 changed files with 4 additions and 1 deletions

View File

@ -2139,6 +2139,9 @@ _config_update(void)
}
}
}
_elm_config->popup_horizontal_align = 0.5;
_elm_config->popup_vertical_align = 0.5;
IFCFGEND
/**
* Fix user config for current ELM_CONFIG_EPOCH here.

View File

@ -134,7 +134,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 0x0007
#define ELM_CONFIG_FILE_GENERATION 0x0008
#define ELM_CONFIG_VERSION_EPOCH_OFFSET 16
#define ELM_CONFIG_VERSION ((ELM_CONFIG_EPOCH << ELM_CONFIG_VERSION_EPOCH_OFFSET) | \
ELM_CONFIG_FILE_GENERATION)