summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJee-Yong Um <jc9.um@samsung.com>2016-02-19 15:58:30 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-02-29 15:40:06 -0800
commit8c9acb744dea51ffe3bd38db454e7f2cef6a7c7f (patch)
treee1171ef37476d88041a4e3379b2e2e2041168583
parentd06a13c7deaa7d49d518f7efef22073caa641c48 (diff)
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 <cedric@osg.samsung.com>
-rw-r--r--src/lib/elm_gengrid.c2
-rw-r--r--src/lib/elm_genlist.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index af51cb543..bf9b1f849 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -4106,6 +4106,8 @@ _internal_elm_gengrid_clear(Evas_Object *obj,
4106 eo_do(obj, elm_interface_scrollable_content_region_show(0, 0, 0, 0)); 4106 eo_do(obj, elm_interface_scrollable_content_region_show(0, 0, 0, 0));
4107 evas_event_thaw(evas_object_evas_get(obj)); 4107 evas_event_thaw(evas_object_evas_get(obj));
4108 evas_event_thaw_eval(evas_object_evas_get(obj)); 4108 evas_event_thaw_eval(evas_object_evas_get(obj));
4109
4110 _elm_widget_focus_highlight_start(obj);
4109} 4111}
4110 4112
4111static void 4113static void
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index a3c419a40..89130a93a 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -5793,6 +5793,8 @@ _internal_elm_genlist_clear(Evas_Object *obj)
5793 5793
5794 evas_event_thaw(evas_object_evas_get(sd->obj)); 5794 evas_event_thaw(evas_object_evas_get(sd->obj));
5795 evas_event_thaw_eval(evas_object_evas_get(sd->obj)); 5795 evas_event_thaw_eval(evas_object_evas_get(sd->obj));
5796
5797 _elm_widget_focus_highlight_start(obj);
5796} 5798}
5797 5799
5798/* Return EINA_TRUE if the item is deleted in this function */ 5800/* Return EINA_TRUE if the item is deleted in this function */