Hello Michael Bouchaud, does this really work? It's likely this works only in a very rare cases. It will be broken in many cases, especially theme change will break this. The label inside the list is managed by elm_list and it'll set the label when the theme is changed. And so on...
Can you check this? Daniel Juyung Seo (SeoZ) On Mon, Sep 16, 2013 at 7:20 PM, Michaël Bouchaud - Enlightenment Git < no-re...@enlightenment.org> wrote: > yoz pushed a commit to branch master. > > commit 5414fdba3c874451b43e0994df897bb3705b1f2d > Author: Michaël Bouchaud (yoz) <y...@efl.so> > Date: Mon Sep 16 12:18:24 2013 +0200 > > elementary: allow custom text part on item list > --- > src/lib/elm_list.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c > index e193fdf..72d3e9f 100644 > --- a/src/lib/elm_list.c > +++ b/src/lib/elm_list.c > @@ -1405,7 +1405,11 @@ _item_text_set_hook(Elm_Object_Item *it, > { > Elm_List_Item *list_it = (Elm_List_Item *)it; > > - if (part && strcmp(part, "default")) return; > + if (part && strcmp(part, "default")) > + { > + edje_object_part_text_escaped_set(VIEW(list_it), part, text); > + return; > + } > if (!eina_stringshare_replace(&list_it->label, text)) return; > if (VIEW(list_it)) > edje_object_part_text_escaped_set(VIEW(list_it), "elm.text", text); > > -- > > > ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel