From: SangHyeon Lee Date: Tue, 10 Jan 2017 04:59:42 +0000 (+0900) Subject: gengrid: fix highlight bug in disabled item X-Git-Tag: upstream/1.20.0~2491 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30445b6ea6f0fb3ee237484cc34a035f92d8dddd;p=platform%2Fupstream%2Fefl.git gengrid: fix highlight bug in disabled item Summary: if item is disabled, item must be not highlighted by touch events. Signed-off-by: SangHyeon Lee --- diff --git a/src/lib/elementary/elm_gengrid.c b/src/lib/elementary/elm_gengrid.c index 913dd31..4e129a7 100644 --- a/src/lib/elementary/elm_gengrid.c +++ b/src/lib/elementary/elm_gengrid.c @@ -886,6 +886,7 @@ _item_highlight(Elm_Gen_Item *it) ELM_GENGRID_DATA_GET_FROM_ITEM(it, sd); if (_is_no_select(it) || + (elm_wdg_item_disabled_get(EO_OBJ(it))) || (!sd->highlight) || (it->highlighted) || (it->generation < sd->generation)) return;