diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2016-01-14 15:49:22 -0800 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2016-01-14 15:49:22 -0800 |
commit | b2a0b45cad0d72d8f7c95cb1078738d8f5ab2094 (patch) | |
tree | 35e18992a460987ac9065acf2ed9cb342f4c9cba | |
parent | f2245654cec8364fde92514b960f7aa064d71404 (diff) | |
download | elementary-b2a0b45cad0d72d8f7c95cb1078738d8f5ab2094.tar.gz |
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
-rw-r--r-- | src/lib/elm_config.c | 3 | ||||
-rw-r--r-- | src/lib/elm_priv.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c index d01ef7265..21afc4a60 100644 --- a/src/lib/elm_config.c +++ b/src/lib/elm_config.c @@ -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. diff --git a/src/lib/elm_priv.h b/src/lib/elm_priv.h index f8ff69351..82915a52e 100644 --- a/src/lib/elm_priv.h +++ b/src/lib/elm_priv.h @@ -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) |