summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2008-07-18 23:31:33 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-07-18 23:31:33 +0000
commit5c15e9f51287247b0110db8ec0d61fe3ccd61959 (patch)
treedc15fda548042383118fad2f9925b4556bf0fcf3 /examples
parent7aa55c4b6458f0eb051ba7154e84eb974f8b0f20 (diff)
downloadpygobject-5c15e9f51287247b0110db8ec0d61fe3ccd61959.tar.gz
Increase to 100 per go
svn path=/trunk/; revision=834
Diffstat (limited to 'examples')
-rw-r--r--examples/gio/directory-async.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/gio/directory-async.py b/examples/gio/directory-async.py
index 49d2a4b0..117adbc1 100644
--- a/examples/gio/directory-async.py
+++ b/examples/gio/directory-async.py
@@ -15,12 +15,13 @@ def enumerate_children_done(gfile, result):
print 'ERROR:', e
loop.quit()
return
- enumerator.next_files_async(10, next_files_done)
+ enumerator.next_files_async(100, next_files_done)
if len(sys.argv) >= 2:
uri = sys.argv[1]
else:
uri = "/"
+
gfile = gio.File(uri)
gfile.enumerate_children_async(
"standard::name", enumerate_children_done)