Enlightenment CVS committal Author : lordchaos Project : e17 Module : proto
Dir : e17/proto/entropy/src/dialogs Modified Files: etk_interaction_dialog.c Log Message: * Yes to all support =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/entropy/src/dialogs/etk_interaction_dialog.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- etk_interaction_dialog.c 2 Mar 2006 06:10:55 -0000 1.2 +++ etk_interaction_dialog.c 2 Mar 2006 06:54:03 -0000 1.3 @@ -50,6 +50,16 @@ (int*)ENTROPY_USER_INTERACTION_RESPONSE_YES ); etk_widget_show(button); + button = etk_button_new_with_label("Yes to all"); + etk_container_add(ETK_CONTAINER(hbox), button); + + etk_object_data_set(ETK_OBJECT(button), "window", window); + etk_object_data_set(ETK_OBJECT(button), "operation", (long*)interact->id); + + etk_signal_connect("pressed", ETK_OBJECT(button), ETK_CALLBACK(etk_entropy_user_interaction_dialog_cb), + (int*)ENTROPY_USER_INTERACTION_RESPONSE_YES_TO_ALL ); + etk_widget_show(button); + button = etk_button_new(); etk_button_label_set(ETK_BUTTON(button), "No"); etk_container_add(ETK_CONTAINER(hbox), button); @@ -62,6 +72,16 @@ etk_widget_show(button); + button = etk_button_new_with_label("No to all"); + etk_container_add(ETK_CONTAINER(hbox), button); + + etk_object_data_set(ETK_OBJECT(button), "window", window); + etk_object_data_set(ETK_OBJECT(button), "operation", (long*)interact->id); + + etk_signal_connect("pressed", ETK_OBJECT(button), ETK_CALLBACK(etk_entropy_user_interaction_dialog_cb), + (int*)ENTROPY_USER_INTERACTION_RESPONSE_NO_TO_ALL ); + etk_widget_show(button); + button = etk_button_new(); etk_button_label_set(ETK_BUTTON(button), "Abort"); etk_container_add(ETK_CONTAINER(hbox), button); ------------------------------------------------------- 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