Keep the legacy code path when using edje_object_part_text_set.
Fixes e's notification that got broken after
3642b3ae679e3bedba4155fb9e54b44483b3b9e1.
Also, limit new efl_text_markup set to TEXTBLOCK parts.
else
if (text)
{
- if (set_markup)
+ if (set_markup && (rp->part->type == EDJE_PART_TYPE_TEXTBLOCK))
{
char *mkup;
mkup =
EAPI Eina_Bool
edje_object_part_text_set(const Edje_Object *obj, const char *part, const char *text)
{
- efl_text_markup_set(efl_part(obj, part), text);
+ efl_text_set(efl_part(obj, part), text);
return EINA_TRUE;
}