elementary: simplify test in elm_entry_text_set.

SVN revision: 80413
This commit is contained in:
Cedric BAIL 2012-12-07 07:12:58 +00:00
parent ca6994b182
commit a1da9e6b65
3 changed files with 3 additions and 1 deletions

View File

@ -787,4 +787,5 @@
2012-12-07 Cedric Bail
* Safer call to mkstemp in elm_cnp.
* Simplify test in elm_entry_text_set.

View File

@ -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:

View File

@ -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);