projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d7f096e
)
[ENTRY]: password Issue fix: text coming with <password> tag.
author
shilpa singh
<shilpa.singh@samsung.com>
Fri, 15 Oct 2010 10:14:26 +0000
(19:14 +0900)
committer
shilpa singh
<shilpa.singh@samsung.com>
Fri, 15 Oct 2010 10:14:26 +0000
(19:14 +0900)
src/lib/elm_entry.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_entry.c
b/src/lib/elm_entry.c
index
e856ec3
..
9fded48
100644
(file)
--- 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;
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)
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;
ERR("text=NULL for edje %p, part 'elm.text'", wd->ent);
return NULL;
- }
+
}
eina_stringshare_replace(&wd->text, text);
eina_stringshare_replace(&wd->text, text);
+ if(wd->password)return elm_entry_markup_to_utf8(wd->text);
return wd->text;
}
return wd->text;
}