From: Enlightenment C. <no...@cv...> - 2006-11-17 06:59:27
|
Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/bin/tests/filedialog Modified Files: ewl_filedialog.c Log Message: Patch from Nick Hughart (mekius_) to close the dialog in the filedialog test when cancel is clicked. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/filedialog/ewl_filedialog.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- ewl_filedialog.c 17 Oct 2006 04:59:55 -0000 1.1 +++ ewl_filedialog.c 17 Nov 2006 06:59:25 -0000 1.2 @@ -107,7 +107,10 @@ /* nothing to do on a cancel */ if (e->response == EWL_STOCK_CANCEL) + { + ewl_widget_destroy(w); return; + } fd = EWL_FILEDIALOG(w); if (ewl_filedialog_multiselect_get(fd)) |