Elm entry: Remove useless sizing evals.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 16 May 2011 14:09:56 +0000 (14:09 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 16 May 2011 14:09:56 +0000 (14:09 +0000)
We already change the entry which cause a sizing eval anyway, no need to
force more for no reason.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@59451 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_entry.c

index fb7c5ce..066ee15 100644 (file)
@@ -1610,8 +1610,6 @@ _text_append_idler(void *data)
 
    wd->append_text_left[wd->append_text_position] = backup;
 
-   _sizing_eval(obj);
-
    /* If there's still more to go, renew the idler, else, cleanup */
    if (wd->append_text_position < wd->append_text_len)
      {
@@ -1869,7 +1867,6 @@ elm_entry_entry_set(Evas_Object *obj, const char *entry)
    if (len <= _CHUNK_SIZE)
      {
         edje_object_part_text_set(wd->ent, "elm.text", entry);
-        _sizing_eval(obj);
      }
    else
      {