config: Changed the order in which the _elm_recache() called 05/211105/1
authorWoochanlee <wc0917.lee@samsung.com>
Tue, 30 Jul 2019 06:37:49 +0000 (15:37 +0900)
committerWoochanlee <wc0917.lee@samsung.com>
Tue, 30 Jul 2019 06:39:32 +0000 (15:39 +0900)
@tizen_fix

Change-Id: Ia6aa50a99fefbff63cd7e2f1322395fba470acfb

src/lib/elementary/elm_config.c

index c11a16d..d6ac9f4 100644 (file)
@@ -4523,10 +4523,16 @@ _elm_config_init(void)
    ELM_SAFE_FREE(_elm_accel_preference, eina_stringshare_del);
    ELM_SAFE_FREE(_elm_gl_preference, eina_stringshare_del);
    _translation_init();
+   //TIZEN_ONLY(20190730): _config_apply() will load edj file and parsing it.
+   //                      but _elm_recache() flush all of these data.
+   //                      So it load and parse again when widget theme setting time again.
+   //                      _elm_recache() should calling before the edj file loading.
+   _elm_recache();
    _config_apply();
    _elm_config_font_overlay_apply();
    _elm_config_color_overlay_apply();
-   _elm_recache();
+   //_elm_recache();
+   //
    _elm_old_clouseau_reload();
    _elm_config_key_binding_hash();
 }