From: hermet Date: Fri, 11 Mar 2011 04:54:39 +0000 (+0000) Subject: elementary/list - fixed minor error. X-Git-Tag: REL_F_I9500_20120323_1~17^2~3052 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07a6af40005e782031de99f7d626ef1dbb803e96;p=framework%2Fuifw%2Felementary.git elementary/list - fixed minor error. moved _theme_hook to where after scroller has child. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@57684 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c index 34e0189..72497eb 100644 --- a/src/lib/elm_list.c +++ b/src/lib/elm_list.c @@ -1294,7 +1294,6 @@ elm_list_add(Evas_Object *parent) wd->scr = elm_smart_scroller_add(e); elm_smart_scroller_widget_set(wd->scr, obj); - _theme_hook(obj); elm_widget_resize_object_set(obj, wd->scr); evas_object_event_callback_add(wd->scr, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _changed_size_hints, obj); @@ -1317,6 +1316,8 @@ elm_list_add(Evas_Object *parent) evas_object_show(wd->box); + _theme_hook(obj); + wd->mode = ELM_LIST_SCROLL; evas_object_smart_callback_add(wd->scr, "edge,left", _scroll_edge_left, obj);