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))



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to