From f08f7c8154a7c7fe8f81a72c6c0f7f025eb20af9 Mon Sep 17 00:00:00 2001 From: hermet Date: Wed, 29 Feb 2012 06:52:05 +0000 Subject: [PATCH] elementary/genlist - renamed label field to text. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68538 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/test_genlist.c | 2 +- src/lib/elm_genlist.c | 2 +- src/lib/elm_genlist.h | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c index b0c6897..b989f63 100644 --- a/src/bin/test_genlist.c +++ b/src/bin/test_genlist.c @@ -685,7 +685,7 @@ my_gl_labels_update(void *data, Evas_Object *obj __UNUSED__, void *event_info __ { Testitem *tit = data; tit->mode++; - elm_genlist_item_fields_update(tit->item, "*", ELM_GENLIST_ITEM_FIELD_LABEL); + elm_genlist_item_fields_update(tit->item, "*", ELM_GENLIST_ITEM_FIELD_TEXT); } static void diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index d902628..39fa0ed 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -4944,7 +4944,7 @@ elm_genlist_item_fields_update(Elm_Object_Item *it, if (!_it->item->block) return; if (_it->generation < _it->wd->generation) return; - if ((!itf) || (itf & ELM_GENLIST_ITEM_FIELD_LABEL)) + if ((!itf) || (itf & ELM_GENLIST_ITEM_FIELD_TEXT)) _item_text_realize(_it, VIEW(_it), &_it->texts, parts); if ((!itf) || (itf & ELM_GENLIST_ITEM_FIELD_CONTENT)) { diff --git a/src/lib/elm_genlist.h b/src/lib/elm_genlist.h index 662f0a7..aeaba39 100644 --- a/src/lib/elm_genlist.h +++ b/src/lib/elm_genlist.h @@ -360,8 +360,7 @@ typedef enum { ELM_GENLIST_ITEM_FIELD_ALL = 0, - //XXX:ELM_GENLSIT_ITEM_FIELD_TEXT - ELM_GENLIST_ITEM_FIELD_LABEL = (1 << 0), + ELM_GENLIST_ITEM_FIELD_TEXT = (1 << 0), ELM_GENLIST_ITEM_FIELD_CONTENT = (1 << 1), ELM_GENLIST_ITEM_FIELD_STATE = (1 << 2) } Elm_Genlist_Item_Field_Flags; -- 2.7.4