Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_thumb.c e_thumb_main.c Log Message: actually see the delete req in the thumbnailer =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_thumb.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -3 -r1.29 -r1.30 --- e_thumb.c 8 Jul 2006 09:18:04 -0000 1.29 +++ e_thumb.c 8 Jul 2006 13:12:42 -0000 1.30 @@ -144,7 +144,11 @@ 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(); =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_thumb_main.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_thumb_main.c 8 Jul 2006 09:18:04 -0000 1.1 +++ e_thumb_main.c 8 Jul 2006 13:12:42 -0000 1.2 @@ -146,28 +146,30 @@ e = event; if (e->major != 5) return 1; - if (!e->data) return 1; switch (e->minor) { case 1: - /* begin thumb */ - /* don't check stuff. since this connects TO e17 it is connecting */ - /* TO a trusted process that WILL send this message properly */ - /* formatted. if the thumbnailer dies anyway - it's not a big loss */ - /* but it is a sign of a bug in e formattign messages maybe */ - file = e->data; - key = file + strlen(file) + 1; - if (!key[0]) key = NULL; - eth = calloc(1, sizeof(E_Thumb)); - if (eth) + if (e->data) { - eth->objid = e->ref; - eth->w = e->ref_to; - eth->h = e->response; - eth->file = strdup(file); - if (key) eth->key = strdup(key); - _thumblist = evas_list_append(_thumblist, eth); - if (!_timer) _timer = ecore_timer_add(0.001, _e_cb_timer, NULL); + /* begin thumb */ + /* don't check stuff. since this connects TO e17 it is connecting */ + /* TO a trusted process that WILL send this message properly */ + /* formatted. if the thumbnailer dies anyway - it's not a big loss */ + /* but it is a sign of a bug in e formattign messages maybe */ + file = e->data; + key = file + strlen(file) + 1; + if (!key[0]) key = NULL; + eth = calloc(1, sizeof(E_Thumb)); + if (eth) + { + eth->objid = e->ref; + eth->w = e->ref_to; + eth->h = e->response; + eth->file = strdup(file); + if (key) eth->key = strdup(key); + _thumblist = evas_list_append(_thumblist, eth); + if (!_timer) _timer = ecore_timer_add(0.001, _e_cb_timer, NULL); + } } break; case 2: Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs