From: <enl...@li...> - 2001-11-18 21:09:08
|
Enlightenment CVS committal Author : raster Project : e17 Module : apps/e Dir : e17/apps/e/src Modified Files: view.c Log Message: and make the metada get for view bg go thru the same path. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/view.c,v retrieving revision 1.88 retrieving revision 1.89 diff -u -3 -r1.88 -r1.89 --- view.c 2001/11/17 04:21:48 1.88 +++ view.c 2001/11/18 21:09:07 1.89 @@ -2213,17 +2213,10 @@ { if (ev->efsd_reply_event.errorcode == 0) { - struct stat st; - if (stat(efsd_metadata_get_str(ev), &st) != -1 ) - { - D("Attempted to set background for: %s\n", v->dir); - v->bg = e_background_load(efsd_metadata_get_str(ev)); - if ((v->bg) && (v->evas)) - { - e_background_realize(v->bg, v->evas); - e_background_set_size(v->bg, v->size.w, v->size.h); - } - } + char buf[PATH_MAX]; + + sprintf(buf, "background_reload:%s", v->dir); + ecore_add_event_timer(buf, 0.5, e_view_bg_reload_timeout, 0, v); } } } |