actually see the delete req in the thumbnailer

SVN revision: 23753
This commit is contained in:
Carsten Haitzler 2006-07-08 13:12:42 +00:00
parent 50063cad9c
commit 2bf3acac8b
2 changed files with 25 additions and 19 deletions

View File

@ -144,7 +144,11 @@ e_thumb_icon_end(Evas_Object *obj)
if (!eth) return;
if (eth->queued) _thumb_queue = evas_list_remove(_thumb_queue, eth);
eth->queued = 0;
if (eth->busy) _e_thumb_gen_end(eth->objid);
if (eth->busy)
{
printf("REQ DEL %s\n", eth->file);
_e_thumb_gen_end(eth->objid);
}
eth->busy = 0;
_pending--;
if (_pending == 0) _e_thumb_thumbnailers_kill();

View File

@ -146,10 +146,11 @@ _e_ipc_cb_server_data(void *data, int type, void *event)
e = event;
if (e->major != 5) return 1;
if (!e->data) return 1;
switch (e->minor)
{
case 1:
if (e->data)
{
/* begin thumb */
/* don't check stuff. since this connects TO e17 it is connecting */
/* TO a trusted process that WILL send this message properly */
@ -169,6 +170,7 @@ _e_ipc_cb_server_data(void *data, int type, void *event)
_thumblist = evas_list_append(_thumblist, eth);
if (!_timer) _timer = ecore_timer_add(0.001, _e_cb_timer, NULL);
}
}
break;
case 2:
/* end thumb */