cedric pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=b2a0b45cad0d72d8f7c95cb1078738d8f5ab2094

commit b2a0b45cad0d72d8f7c95cb1078738d8f5ab2094
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Thu Jan 14 15:49:22 2016 -0800

    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
---
 src/lib/elm_config.c | 3 +++
 src/lib/elm_priv.h   | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/elm_config.c b/src/lib/elm_config.c
index d01ef72..21afc4a 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 f8ff693..82915a5 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)

-- 


Reply via email to