forked from enlightenment/enlightenment
actually see the delete req in the thumbnailer
SVN revision: 23753
This commit is contained in:
parent
50063cad9c
commit
2bf3acac8b
|
@ -144,7 +144,11 @@ e_thumb_icon_end(Evas_Object *obj)
|
||||||
if (!eth) return;
|
if (!eth) return;
|
||||||
if (eth->queued) _thumb_queue = evas_list_remove(_thumb_queue, eth);
|
if (eth->queued) _thumb_queue = evas_list_remove(_thumb_queue, eth);
|
||||||
eth->queued = 0;
|
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;
|
eth->busy = 0;
|
||||||
_pending--;
|
_pending--;
|
||||||
if (_pending == 0) _e_thumb_thumbnailers_kill();
|
if (_pending == 0) _e_thumb_thumbnailers_kill();
|
||||||
|
|
|
@ -146,10 +146,11 @@ _e_ipc_cb_server_data(void *data, int type, void *event)
|
||||||
|
|
||||||
e = event;
|
e = event;
|
||||||
if (e->major != 5) return 1;
|
if (e->major != 5) return 1;
|
||||||
if (!e->data) return 1;
|
|
||||||
switch (e->minor)
|
switch (e->minor)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
if (e->data)
|
||||||
|
{
|
||||||
/* begin thumb */
|
/* begin thumb */
|
||||||
/* don't check stuff. since this connects TO e17 it is connecting */
|
/* don't check stuff. since this connects TO e17 it is connecting */
|
||||||
/* TO a trusted process that WILL send this message properly */
|
/* 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);
|
_thumblist = evas_list_append(_thumblist, eth);
|
||||||
if (!_timer) _timer = ecore_timer_add(0.001, _e_cb_timer, NULL);
|
if (!_timer) _timer = ecore_timer_add(0.001, _e_cb_timer, NULL);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
/* end thumb */
|
/* end thumb */
|
||||||
|
|
Loading…
Reference in New Issue