Enlightenment CVS committal Author : titan Project : e17 Module : proto
Dir : e17/proto/ephoto/src Modified Files: ephoto_misc.c Log Message: If a slideshow is existent when loading a new one -- eff it :) =================================================================== RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_misc.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- ephoto_misc.c 7 Apr 2006 02:37:19 -0000 1.10 +++ ephoto_misc.c 7 Apr 2006 02:50:02 -0000 1.11 @@ -330,6 +330,16 @@ if (file_ptr != NULL) { char paths[PATH_MAX]; + + ewl_widget_destroy(m->ib); + ecore_list_destroy(m->imagelist); + m->imagelist = ecore_list_new(); + + m->ib = ewl_freebox_new(); + ewl_freebox_layout_type_set(EWL_FREEBOX(m->ib), EWL_FREEBOX_LAYOUT_AUTO); + ewl_container_child_append(EWL_CONTAINER(m->iscroll), m->ib); + ewl_widget_show(m->ib); + while (fgets(paths,PATH_MAX,file_ptr)!=NULL) { char path2[PATH_MAX]; int strleng; @@ -339,7 +349,7 @@ snprintf(path2, strleng, "%s", paths); printf("%s\n", path2); - + m->i = ewl_image_thumbnail_new(); ewl_widget_name_set(m->i, path2); ewl_image_constrain_set(EWL_IMAGE(m->i), 64); ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs