cedric pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=8c9acb744dea51ffe3bd38db454e7f2cef6a7c7f
commit 8c9acb744dea51ffe3bd38db454e7f2cef6a7c7f Author: Jee-Yong Um <jc9...@samsung.com> Date: Fri Feb 19 15:58:30 2016 -0800 elm_gen: update highlight geometry after clearing items Summary: After genlist/genrid items are cleared, item highlight still remains in blank space. This patch fixes this by updating highlight. Test Plan: elementary_test -to fileselector enter blank directory and see highlight still remains Reviewers: jpeg, SanghyeonLee, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D3683 Signed-off-by: Cedric BAIL <ced...@osg.samsung.com> --- src/lib/elm_gengrid.c | 2 ++ src/lib/elm_genlist.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index af51cb5..bf9b1f8 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -4106,6 +4106,8 @@ _internal_elm_gengrid_clear(Evas_Object *obj, eo_do(obj, elm_interface_scrollable_content_region_show(0, 0, 0, 0)); evas_event_thaw(evas_object_evas_get(obj)); evas_event_thaw_eval(evas_object_evas_get(obj)); + + _elm_widget_focus_highlight_start(obj); } static void diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index a3c419a..89130a9 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -5793,6 +5793,8 @@ _internal_elm_genlist_clear(Evas_Object *obj) evas_event_thaw(evas_object_evas_get(sd->obj)); evas_event_thaw_eval(evas_object_evas_get(sd->obj)); + + _elm_widget_focus_highlight_start(obj); } /* Return EINA_TRUE if the item is deleted in this function */ --