Enlightenment CVS committal
Author : titan
Project : e17
Module : proto
Dir : e17/proto/ephoto/src
Modified Files:
ephoto_presentation.c
Log Message:
Fixed clicking on a slideshow window. It now closes properly. Also took away
the black background for slideshow and presentation. It looked bad imho.
===================================================================
RCS file: /cvs/e/e17/proto/ephoto/src/ephoto_presentation.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- ephoto_presentation.c 22 Mar 2006 03:17:02 -0000 1.13
+++ ephoto_presentation.c 9 Apr 2006 05:32:58 -0000 1.14
@@ -192,16 +192,9 @@
ewl_callback_append(s->wins, EWL_CALLBACK_CLICKED, destroys_cb, NULL);
ewl_widget_show(s->wins);
- s->screen = ewl_image_new();
- ewl_image_file_set(EWL_IMAGE(s->screen), PACKAGE_DATA_DIR
"/images/black.png", NULL);
- ewl_object_fill_policy_set(EWL_OBJECT(s->screen), EWL_FLAG_FILL_ALL);
- ewl_container_child_append(EWL_CONTAINER(s->wins), s->screen);
- ewl_widget_show(s->screen);
-
s->cell = ewl_cell_new();
ewl_object_fill_policy_set(EWL_OBJECT(s->cell), EWL_FLAG_FILL_ALL);
ewl_container_child_append(EWL_CONTAINER(s->wins), s->cell);
- ewl_callback_append(s->cell, EWL_CALLBACK_CLICKED, destroys_cb, NULL);
ewl_widget_show(s->cell);
if ( ewl_media_is_available() ) {
@@ -220,6 +213,7 @@
/*******Start the slideshow*******/
if ( s->audio1 != NULL ) {
ewl_callback_append(s->audio1, EWL_CALLBACK_REALIZE, play_cb,
NULL);
+ ewl_callback_append(s->audio1, EWL_CALLBACK_REALIZE, play_cb,
NULL);
}
if ( mainwin == 1 ) {
@@ -404,14 +398,7 @@
ewl_callback_append(s->wins, EWL_CALLBACK_DELETE_WINDOW, destroyp_cb,
NULL);
ewl_widget_show(s->wins);
- s->screen = ewl_image_new();
- ewl_image_file_set(EWL_IMAGE(s->screen), PACKAGE_DATA_DIR
"/images/black.png", NULL);
- ewl_object_fill_policy_set(EWL_OBJECT(s->screen), EWL_FLAG_FILL_ALL);
- ewl_container_child_append(EWL_CONTAINER(s->wins), s->screen);
- ewl_widget_show(s->screen);
-
-
- p->vbox1p = ewl_vbox_new();
+ p->vbox1p = ewl_vbox_new();
ewl_container_child_append(EWL_CONTAINER(s->wins), p->vbox1p);
ewl_object_alignment_set(EWL_OBJECT(p->vbox1p), EWL_FLAG_ALIGN_CENTER);
ewl_object_fill_policy_set(EWL_OBJECT(p->vbox1p), EWL_FLAG_FILL_ALL);
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs