rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=2e7a95fb57b7860870a2e5a3aaf7d5d7ad5a937a
commit 2e7a95fb57b7860870a2e5a3aaf7d5d7ad5a937a Author: Vitalii Vorobiov <vi.vorob...@samsung.com> Date: Thu Mar 31 16:24:58 2016 +0300 live_list: set up into list's swallows somehow it ignores true names of swallows if they are elm.swallow.icon/end to set content into such swallows list require part's name "start" and "end" instead --- src/bin/ui/live_view/elementary/live_list.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/bin/ui/live_view/elementary/live_list.c b/src/bin/ui/live_view/elementary/live_list.c index 155c7ad..26ba442 100644 --- a/src/bin/ui/live_view/elementary/live_list.c +++ b/src/bin/ui/live_view/elementary/live_list.c @@ -29,8 +29,17 @@ _on_list_swallow_check(void *data, Elm_Object_Item *item = elm_list_first_item_get(object); + const char *part_name = part->name; + + /* because elm_list is weird */ + if (!strcmp(part_name, "elm.swallow.icon")) + part_name = "start"; + else if (!strcmp(part_name, "elm.swallow.end")) + part_name = "end"; + while (item) { + part->object = elm_object_item_part_content_unset(item, part_name); if (part->object) { evas_object_del(part->object); @@ -55,7 +64,8 @@ _on_list_swallow_check(void *data, part->max_w, part->max_h); } - elm_object_item_part_content_set(item, part->name, part->object); + + elm_object_item_part_content_set(item, part_name, part->object); item = elm_list_item_next(item); } } --