summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2020-02-20 09:59:29 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2020-02-20 09:59:29 +0100
commitc5dc774fc564539f0d8b5791b2ed4925162706cf (patch)
treec688d87feda5dd72d37e7991548a32ffe75feb11
parent7da106ec681195a5538cfcf0da2cf4805173c23e (diff)
Efl.Ui.Spotlight: Fix indicator initialization
This caused incorrectly-centered indicator icons in the homescreen example.
-rw-r--r--src/lib/elementary/efl_ui_spotlight_icon_indicator.c2
1 files changed, 1 insertions, 1 deletions
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
96 if (spotlight) 96 if (spotlight)
97 { 97 {
98 pd->container = spotlight; 98 pd->container = spotlight;
99 efl_event_callback_array_add(pd->container, spotlight_resized(), pd->layout);
100 pd->layout = efl_add(EFL_CANVAS_LAYOUT_CLASS, pd->container); 99 pd->layout = efl_add(EFL_CANVAS_LAYOUT_CLASS, pd->container);
100 efl_event_callback_array_add(pd->container, spotlight_resized(), pd->layout);
101 101
102 if (elm_widget_theme_object_set(pd->container, pd->layout, 102 if (elm_widget_theme_object_set(pd->container, pd->layout,
103 "spotlight", 103 "spotlight",