From: Jeonghyun Yun Date: Wed, 28 Mar 2018 02:18:25 +0000 (+0900) Subject: elm_genlist: Update color class when item realized and unrealized for TV profile X-Git-Tag: accepted/tizen/4.0/unified/20180330.060739~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=04eb79f6d212f4f8ae1f260c5bcd16dc66e97ada;p=platform%2Fupstream%2Felementary.git elm_genlist: Update color class when item realized and unrealized for TV profile @tizen_fix Change-Id: Id57d7c1333aaf582826bec1c22e56e6721c96bb9 Signed-off-by: Jeonghyun Yun --- diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 2e8a154..7ca093c 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -1918,6 +1918,11 @@ _item_realize(Elm_Gen_Item *it, } // + //TIZEN_ONLY(20180328): clean up elm color class feature + if (it->base->color_classes) + _elm_widget_item_color_class_update(it->base); + // + /* access */ if (_elm_config->access_mode) _access_widget_item_register(it); @@ -5330,6 +5335,11 @@ _item_unrealize(Elm_Gen_Item *it) } // + //TIZEN_ONLY(20180328): clean up elm color class feature + if (it->base->color_classes) + edje_object_color_class_clear(VIEW(it)); + // + // unswallow VIEW(it) first then manipulate VIEW(it) _decorate_item_unrealize(it); if (GL_IT(it)->wsd->decorate_all_mode) _decorate_all_item_unrealize(it);