elementary/list - fixed minor error.

moved _theme_hook to where after scroller has child. 



SVN revision: 57684
This commit is contained in:
ChunEon Park 2011-03-11 04:54:39 +00:00
parent af265e149f
commit e638d13aec
1 changed files with 2 additions and 1 deletions

View File

@ -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);