raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=87893f368ec8dc5b109318f458c9496cac69c04b
commit 87893f368ec8dc5b109318f458c9496cac69c04b Author: Jaeun Choi <jaeun12.c...@samsung.com> Date: Mon Feb 17 20:24:18 2014 +0900 elm_index: disable indicator when the selected item is unselected Summary: in current code, indicator is disabled only when mouse up event happens. if the selected item is unselected through API before mouse up, the indicator will remain active while no item is selected (highlighted). Test Plan: None Reviewers: Hermet, seoz, raster Reviewed By: raster Differential Revision: https://phab.enlightenment.org/D560 --- src/lib/elm_index.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/elm_index.c b/src/lib/elm_index.c index 6863887..b3defd6 100644 --- a/src/lib/elm_index.c +++ b/src/lib/elm_index.c @@ -1235,6 +1235,9 @@ elm_index_item_selected_set(Elm_Object_Item *it, edje_object_signal_emit(VIEW(it_inactive), "elm,state,inactive", "elm"); edje_object_message_signal_process(VIEW(it_inactive)); + + // for the case in which the selected item is unselected before mouse up + elm_layout_signal_emit(obj, "elm,indicator,state,inactive", "elm"); } } --