There is no tts about the name when the item of the genlist is the group item.
So, the addition did ELM_GENLIST_ITEM_GROUP according to the UX guide.
Change-Id: I812075e4607f14a49779f4db4a86eafa592f248f
eina_strbuf_append(buf, str_utf8);
free(str_utf8);
- if((genlist_item_type & ELM_GENLIST_ITEM_TREE) && texts_list_item_index == 0)
+ if(((genlist_item_type & ELM_GENLIST_ITEM_GROUP) || (genlist_item_type & ELM_GENLIST_ITEM_TREE)) && texts_list_item_index == 0)
{
eina_strbuf_append(buf, ", ");
eina_strbuf_append(buf, E_("group index"));
++texts_list_item_index;
}
}
-
ret = eina_strbuf_string_steal(buf);
eina_strbuf_free(buf);
return ret;