Enlightenment CVS committal Author : titansoccer15 Project : e17 Module : proto
Dir : e17/proto/ephoto/src Modified Files: ephoto.c ephoto_presentation.c Log Message: Making the tabs look better, some warning cleanups. =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/ephoto/src/ephoto.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- ephoto.c 18 Mar 2006 08:19:33 -0000 1.8 +++ ephoto.c 18 Mar 2006 08:29:59 -0000 1.9 @@ -151,7 +151,7 @@ ewl_widget_state_set(m->vbutton, "disabled"); ewl_widget_show(m->vbutton); - ewl_notebook_page_tab_text_set(EWL_NOTEBOOK(m->notebook), m->viewbox, "View Image"); + ewl_notebook_page_tab_text_set(EWL_NOTEBOOK(m->notebook), m->viewbox, "Simple Image Viewer"); m->vbox2 = ewl_vbox_new(); ewl_container_child_append(EWL_CONTAINER(m->notebook), m->vbox2); =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/ephoto/src/ephoto_presentation.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- ephoto_presentation.c 17 Mar 2006 22:05:16 -0000 1.9 +++ ephoto_presentation.c 18 Mar 2006 08:29:59 -0000 1.10 @@ -189,8 +189,10 @@ /*******************************************************************/ /*******Start the slideshow*******/ - ewl_callback_append(s->audio1, EWL_CALLBACK_REALIZE, play_cb, NULL); - + if ( s->audio1 != NULL ) { + ewl_callback_append(s->audio1, EWL_CALLBACK_REALIZE, play_cb, NULL); + } + if ( mainwin == 1 ) { if ( ewl_checkbutton_is_checked(EWL_CHECKBUTTON(m->audiolen)) == 1 ) { time = audiolen / slidenum; ------------------------------------------------------- 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