config: try to properly update config for popup new align value.
authorCedric BAIL <cedric@osg.samsung.com>
Thu, 14 Jan 2016 23:49:22 +0000 (15:49 -0800)
committerCedric BAIL <cedric@osg.samsung.com>
Thu, 14 Jan 2016 23:49:22 +0000 (15:49 -0800)
This idea has been suggested by Andrew Williams and I hope it does work
just fine. Please report any problem.

@fix

T3008

legacy/elementary/src/lib/elm_config.c
legacy/elementary/src/lib/elm_priv.h

index d01ef72..21afc4a 100644 (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.
index f8ff693..82915a5 100644 (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)