Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/filedialog Modified Files: ewl_filedialog_test.c Log Message: - tabs are a tricky beast. looks like I missed some. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/filedialog/ewl_filedialog_test.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ewl_filedialog_test.c 6 May 2008 20:09:03 -0000 1.5 +++ ewl_filedialog_test.c 7 May 2008 13:38:16 -0000 1.6 @@ -19,7 +19,7 @@ { test->name = "Filedialog"; test->tip = "The filedialog is intended to be used for a\n" - "single or multi-file chooser."; + "single or multi-file chooser."; test->filename = __FILE__; test->func = create_test; test->type = EWL_TEST_TYPE_ADVANCED; @@ -49,14 +49,14 @@ ewl_button_label_set(EWL_BUTTON(o2), "Single select"); ewl_container_child_append(EWL_CONTAINER(o), o2); ewl_callback_append(o2, EWL_CALLBACK_CLICKED, - dialog_cb_single_clicked, NULL); + dialog_cb_single_clicked, NULL); ewl_widget_show(o2); o2 = ewl_button_new(); ewl_button_label_set(EWL_BUTTON(o2), "Multi select"); ewl_container_child_append(EWL_CONTAINER(o), o2); ewl_callback_append(o2, EWL_CALLBACK_CLICKED, - dialog_cb_multi_clicked, NULL); + dialog_cb_multi_clicked, NULL); ewl_widget_show(o2); return 1; @@ -64,7 +64,7 @@ static void dialog_cb_single_clicked(Ewl_Widget *w __UNUSED__, void *ev __UNUSED__, - void *data __UNUSED__) + void *data __UNUSED__) { Ewl_Widget *fd; Ecore_List *list; @@ -77,23 +77,23 @@ ewl_filedialog_filter_add(EWL_FILEDIALOG(fd), "C Files", "*.c", NULL); ewl_filedialog_filter_add(EWL_FILEDIALOG(fd), "D Files", "*.d", NULL); ewl_callback_append(fd, EWL_CALLBACK_DELETE_WINDOW, - fd_cb_delete, NULL); + fd_cb_delete, NULL); ewl_callback_append(fd, EWL_CALLBACK_VALUE_CHANGED, - fd_cb_value_changed, NULL); + fd_cb_value_changed, NULL); ewl_widget_show(fd); } static void dialog_cb_multi_clicked(Ewl_Widget *w __UNUSED__, void *ev __UNUSED__, - void *data __UNUSED__) + void *data __UNUSED__) { Ewl_Widget *fd; fd = ewl_filedialog_multiselect_new(); ewl_callback_append(fd, EWL_CALLBACK_DELETE_WINDOW, - fd_cb_delete, NULL); + fd_cb_delete, NULL); ewl_callback_append(fd, EWL_CALLBACK_VALUE_CHANGED, - fd_cb_value_changed, NULL); + fd_cb_value_changed, NULL); ewl_widget_show(fd); } @@ -118,8 +118,8 @@ /* nothing to do on a cancel */ if (e->response == EWL_STOCK_CANCEL) { - ewl_widget_destroy(w); - return; + ewl_widget_destroy(w); + return; } fd = EWL_FILEDIALOG(w); ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs