summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-01-14 15:49:22 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-01-14 15:49:22 -0800
commitb2a0b45cad0d72d8f7c95cb1078738d8f5ab2094 (patch)
tree35e18992a460987ac9065acf2ed9cb342f4c9cba
parentf2245654cec8364fde92514b960f7aa064d71404 (diff)
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.c3
-rw-r--r--src/lib/elm_priv.h2
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)
2139 } 2139 }
2140 } 2140 }
2141 } 2141 }
2142
2143 _elm_config->popup_horizontal_align = 0.5;
2144 _elm_config->popup_vertical_align = 0.5;
2142 IFCFGEND 2145 IFCFGEND
2143 /** 2146 /**
2144 * Fix user config for current ELM_CONFIG_EPOCH here. 2147 * 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
134 * the users config doesn't need to be wiped - simply new values need 134 * the users config doesn't need to be wiped - simply new values need
135 * to be put in 135 * to be put in
136 */ 136 */
137#define ELM_CONFIG_FILE_GENERATION 0x0007 137#define ELM_CONFIG_FILE_GENERATION 0x0008
138#define ELM_CONFIG_VERSION_EPOCH_OFFSET 16 138#define ELM_CONFIG_VERSION_EPOCH_OFFSET 16
139#define ELM_CONFIG_VERSION ((ELM_CONFIG_EPOCH << ELM_CONFIG_VERSION_EPOCH_OFFSET) | \ 139#define ELM_CONFIG_VERSION ((ELM_CONFIG_EPOCH << ELM_CONFIG_VERSION_EPOCH_OFFSET) | \
140 ELM_CONFIG_FILE_GENERATION) 140 ELM_CONFIG_FILE_GENERATION)