diff options
author | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-02-03 18:06:30 +0100 |
---|---|---|
committer | Marcel Hollerbach <mail@marcel-hollerbach.de> | 2020-02-03 18:06:30 +0100 |
commit | e2082cf442db258862787a10007f86b0a07cf976 (patch) | |
tree | 2d9f0b6c3e5a359226795e44854acd3646e9265f | |
parent | 2db97a9bc21d24f2ada5d0423c9d9f104bfd97b6 (diff) |
-rw-r--r-- | src/examples/elementary/homescreen/homescreen.c | 3 | ||||
-rw-r--r-- | src/lib/elementary/efl_ui_spotlight_icon_indicator.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/examples/elementary/homescreen/homescreen.c b/src/examples/elementary/homescreen/homescreen.c index f9369c66f9..7b5eab30cd 100644 --- a/src/examples/elementary/homescreen/homescreen.c +++ b/src/examples/elementary/homescreen/homescreen.c | |||
@@ -173,9 +173,6 @@ _home_screen_cb(void *data, const Efl_Event *cb) | |||
173 | Efl_Canvas_Rectangle *rect; | 173 | Efl_Canvas_Rectangle *rect; |
174 | 174 | ||
175 | rect = efl_add(EFL_CANVAS_RECTANGLE_CLASS, compositor); | 175 | rect = efl_add(EFL_CANVAS_RECTANGLE_CLASS, compositor); |
176 | efl_gfx_entity_size_set(rect, EINA_SIZE2D(720*SCALE+15, 1280*SCALE)); | ||
177 | efl_gfx_entity_position_set(rect, EINA_POSITION2D(0, 1280*SCALE)); | ||
178 | |||
179 | efl_ui_spotlight_push(compositor, rect); | 176 | efl_ui_spotlight_push(compositor, rect); |
180 | } | 177 | } |
181 | 178 | ||
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", |