From: Enlightenment S. <no-...@en...> - 2011-11-06 15:19:19
|
Log: properly set content hooks in genlist/gengrid... Author: discomfitor Date: 2011-11-06 07:19:12 -0800 (Sun, 06 Nov 2011) New Revision: 64825 Trac: http://trac.enlightenment.org/e/changeset/64825 Modified: trunk/elementary/src/lib/elm_gen.c Modified: trunk/elementary/src/lib/elm_gen.c =================================================================== --- trunk/elementary/src/lib/elm_gen.c 2011-11-06 15:02:47 UTC (rev 64824) +++ trunk/elementary/src/lib/elm_gen.c 2011-11-06 15:19:12 UTC (rev 64825) @@ -432,6 +432,9 @@ it->parent = parent; it->func.func = func; it->func.data = func_data; + elm_widget_item_content_get_hook_set(it, edje_object_part_swallow_get); + elm_widget_item_content_set_hook_set(it, edje_object_part_swallow); + elm_widget_item_content_unset_hook_set(it, edje_object_part_unswallow); /* TEMPORARY */ it->sel_cb = (Ecore_Cb)_item_select; |