From dc5e92d901d8d06c358868c275b55b27b5743818 Mon Sep 17 00:00:00 2001 From: shilpa singh Date: Fri, 15 Oct 2010 19:14:26 +0900 Subject: [PATCH] [ENTRY]: password Issue fix: text coming with tag. --- src/lib/elm_entry.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index e856ec3..9fded48 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -2317,14 +2317,19 @@ elm_entry_entry_get(const Evas_Object *obj) Widget_Data *wd = elm_widget_data_get(obj); const char *text; if (!wd) return NULL; + + if ((wd->text)&&(wd->password)) + return elm_entry_markup_to_utf8(wd->text); + if (wd->text) return wd->text; text = edje_object_part_text_get(wd->ent, "elm.text"); if (!text) - { + { ERR("text=NULL for edje %p, part 'elm.text'", wd->ent); return NULL; - } + } eina_stringshare_replace(&wd->text, text); + if(wd->password)return elm_entry_markup_to_utf8(wd->text); return wd->text; } -- 2.7.4