Enlightenment CVS committal

Author  : jethomas
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/io_manager


Modified Files:
        ewl_io_manager_test.c 


Log Message:
Implement filtering in the file choosing widgets

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/io_manager/ewl_io_manager_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_io_manager_test.c       4 Dec 2007 05:28:00 -0000       1.1
+++ ewl_io_manager_test.c       9 Dec 2007 04:33:38 -0000       1.2
@@ -52,9 +52,9 @@
        Ewl_Widget *fd;
 
        fd = ewl_filedialog_new();
-       ewl_filedialog_filter_add(EWL_FILEDIALOG(fd), "txt", "*.txt");
-       ewl_filedialog_filter_add(EWL_FILEDIALOG(fd), "png", "*.png");
-       ewl_filedialog_filter_add(EWL_FILEDIALOG(fd), "jpg", "*.jpg");
+       ewl_filedialog_filter_add(EWL_FILEDIALOG(fd), "txt", "*.txt", NULL);
+       ewl_filedialog_filter_add(EWL_FILEDIALOG(fd), "png", "*.png", NULL);
+       ewl_filedialog_filter_add(EWL_FILEDIALOG(fd), "jpg", "*.jpg", NULL);
        ewl_callback_append(fd, EWL_CALLBACK_DELETE_WINDOW, cb_fd_delete, NULL);
        ewl_callback_append(fd, EWL_CALLBACK_VALUE_CHANGED, cb_open, NULL);
        ewl_widget_show(fd);



-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to