slightly more responsive timer and reset object id's once there are none

around :)


SVN revision: 23754
This commit is contained in:
Carsten Haitzler 2006-07-08 13:30:18 +00:00
parent 2bf3acac8b
commit 71f3865361
2 changed files with 2 additions and 1 deletions

View File

@ -282,6 +282,7 @@ _e_thumb_hash_del(int objid)
snprintf(buf, sizeof(buf), "%i", objid);
_thumbs = evas_hash_del(_thumbs, buf, NULL);
if (!_thumbs) _objid = 0;
}
static Evas_Object *

View File

@ -211,7 +211,7 @@ _e_cb_timer(void *data)
if (eth->file) free(eth->file);
if (eth->key) free(eth->key);
free(eth);
if (_thumblist) _timer = ecore_timer_add(0.001, _e_cb_timer, NULL);
if (_thumblist) _timer = ecore_timer_add(0.00001, _e_cb_timer, NULL);
else _timer = NULL;
}
else