Changelog & News? 
 
------------------------------------
-Regards, Hermet- 

-----Original Message-----
From: "Michaël Bouchaud - Enlightenment Git"<no-re...@enlightenment.org> 
To: <g...@lists.enlightenment.org>; 
Cc: 
Sent: 2013-09-16 (월) 19:20:19
Subject: [EGIT] [core/elementary] master 01/01: elementary: allow custom text 
part on item list

yoz pushed a commit to branch master.

commit 5414fdba3c874451b43e0994df897bb3705b1f2d
Author: Michaël Bouchaud (yoz) <yoz>@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

Reply via email to