From: shilpa singh Date: Fri, 15 Oct 2010 10:14:26 +0000 (+0900) Subject: [ENTRY]: password Issue fix: text coming with tag. X-Git-Tag: origin~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc5e92d901d8d06c358868c275b55b27b5743818;p=framework%2Fuifw%2Felementary.git [ENTRY]: password Issue fix: text coming with tag. --- 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; }