else if (it->decorate_it_set)
ret = edje_object_part_swallow_get(it->item->deco_it_view, part);
if (!ret)
- ret = edje_object_part_swallow_get(VIEW(it), part);
+ {
+ if (part)
+ ret = edje_object_part_swallow_get(VIEW(it), part);
+ else
+ ret = edje_object_part_swallow_get(VIEW(it), "elm.swallow.icon");
+ }
return ret;
}
else if (it->decorate_it_set)
ret = edje_object_part_text_get(it->item->deco_it_view, part);
if (!ret)
- if (part)
- ret = edje_object_part_text_get(VIEW(it), part);
- else
- ret = edje_object_part_text_get(VIEW(it), "elm.text");
+ {
+ if (part)
+ ret = edje_object_part_text_get(VIEW(it), part);
+ else
+ ret = edje_object_part_text_get(VIEW(it), "elm.text");
+ }
return ret;
}