summaryrefslogtreecommitdiffstats
path: root/examples/gio/directory-async.py
Commit message (Collapse)AuthorAgeFilesLines
* WhitespaceJohan Dahlin2008-07-291-0/+1
| | | | svn path=/trunk/; revision=900
* Take some creditJohan Dahlin2008-07-291-0/+2
| | | | svn path=/trunk/; revision=899
* Add a new API for registering exceptions for a GError domain. Register aJohan Dahlin2008-07-261-3/+3
| | | | | | | | | | | | | | | | | | 2008-07-26 Johan Dahlin <johan@gnome.org> * examples/gio/directory-async.py: * gio/Makefile.am: * gio/giomodule.c (init_gio): * glib/pyglib.c (pyglib_error_check), (pyglib_register_exception_for_domain): * glib/pyglib.h: * tests/test_gio.py: Add a new API for registering exceptions for a GError domain. Register a new exception for G_IO_ERROR, update tests and examples to use the new exception. svn path=/trunk/; revision=863
* Increase to 100 per goJohan Dahlin2008-07-181-1/+2
| | | | svn path=/trunk/; revision=834
* improve example: show error message and allow sys.argv[1] to be specifiedJohan Dahlin2008-07-181-3/+13
| | | | svn path=/trunk/; revision=833
* Wrap gio.FileEnumerator.next_files_async/next_files_done. Update theJohan Dahlin2008-07-181-3/+9
| | | | | | | | | | | | | | | 2008-07-19 Johan Dahlin <johan@gnome.org> * examples/gio/directory-async.py: * gio/gfileenumerator.override: * gio/gio.defs: * tests/test_gio.py: Wrap gio.FileEnumerator.next_files_async/next_files_done. Update the example to use them instead of the synchronous versions, add documentation and tests. svn path=/trunk/; revision=832
* Only fetch name, saves a couple of syscalls. Set name to gio._gio soJohan Dahlin2008-07-181-1/+1
| | | | | | | | | | | | 2008-07-19 Johan Dahlin <johan@gnome.org> * examples/gio/directory-async.py: Only fetch name, saves a couple of syscalls. * gio/gio.override: Set name to gio._gio so pychecker/pydoc works. svn path=/trunk/; revision=831
* Remove unused importJohan Dahlin2008-07-181-1/+0
| | | | svn path=/trunk/; revision=829
* Wrap gio.File.enumerate_children_async, add tests, docstring and anJohan Dahlin2008-07-181-0/+14
* examples/gio/directory-async.py: * gio/gfile.override: * gio/gfileenumerator.override: * gio/gio.defs: * tests/test_gio.py: Wrap gio.File.enumerate_children_async, add tests, docstring and an example. Also document gio.File.enumerate while we're at it. svn path=/trunk/; revision=828