forked from enlightenment/efl
elementary: simplify test in elm_entry_text_set.
SVN revision: 80413
This commit is contained in:
parent
ca6994b182
commit
a1da9e6b65
|
@ -787,4 +787,5 @@
|
|||
2012-12-07 Cedric Bail
|
||||
|
||||
* Safer call to mkstemp in elm_cnp.
|
||||
* Simplify test in elm_entry_text_set.
|
||||
|
||||
|
|
|
@ -84,6 +84,7 @@ Fixes:
|
|||
* Fix the mapbuf to show it's content properly, If the content doesn't
|
||||
have resized, it wouldn't be showed up.
|
||||
* Safer call to mkstemp in elm_cnp.
|
||||
* Simplify test in elm_entry_text_set.
|
||||
|
||||
Removals:
|
||||
|
||||
|
|
|
@ -2560,7 +2560,7 @@ _elm_entry_smart_text_set(Eo *obj, void *_pd, va_list *list)
|
|||
edje_object_part_text_set(sd->entry_edje, "elm.text", entry);
|
||||
}
|
||||
|
||||
if ((entry) && (entry[0]))
|
||||
if (len > 0)
|
||||
_elm_entry_guide_update(obj, EINA_TRUE);
|
||||
else
|
||||
_elm_entry_guide_update(obj, EINA_FALSE);
|
||||
|
|
Loading…
Reference in New Issue