xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c5dc774fc564539f0d8b5791b2ed4925162706cf

commit c5dc774fc564539f0d8b5791b2ed4925162706cf
Author: Xavi Artigas <xavierarti...@yahoo.es>
Date:   Thu Feb 20 09:59:29 2020 +0100

    Efl.Ui.Spotlight: Fix indicator initialization
    
    This caused incorrectly-centered indicator icons in the homescreen example.
---
 src/lib/elementary/efl_ui_spotlight_icon_indicator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_spotlight_icon_indicator.c 
b/src/lib/elementary/efl_ui_spotlight_icon_indicator.c
index 731a9a9429..a4aa12ce25 100644
--- a/src/lib/elementary/efl_ui_spotlight_icon_indicator.c
+++ b/src/lib/elementary/efl_ui_spotlight_icon_indicator.c
@@ -96,8 +96,8 @@ 
_efl_ui_spotlight_icon_indicator_efl_ui_spotlight_indicator_bind(Eo *obj, Efl_Ui
    if (spotlight)
      {
         pd->container = spotlight;
-        efl_event_callback_array_add(pd->container, spotlight_resized(), 
pd->layout);
         pd->layout = efl_add(EFL_CANVAS_LAYOUT_CLASS, pd->container);
+        efl_event_callback_array_add(pd->container, spotlight_resized(), 
pd->layout);
 
         if (elm_widget_theme_object_set(pd->container, pd->layout,
                                        "spotlight",

-- 


Reply via email to