The attached patch makes the callback-driven cancellation of directory visits work.
Related bug report: http://bugzilla.gnome.org/show_bug.cgi?id=311342 -- Christian Neumair <[EMAIL PROTECTED]>
Index: libgnomevfs/gnome-vfs-directory.c =================================================================== RCS file: /cvs/gnome/gnome-vfs/libgnomevfs/gnome-vfs-directory.c,v retrieving revision 1.32 diff -u -p -r1.32 gnome-vfs-directory.c --- libgnomevfs/gnome-vfs-directory.c 14 Nov 2005 11:41:13 -0000 1.32 +++ libgnomevfs/gnome-vfs-directory.c 2 Apr 2006 16:30:10 -0000 @@ -400,6 +400,8 @@ directory_visit_internal (GnomeVFSURI *u recurse = FALSE; stop = ! (* callback) (rel_path, info, recursing_will_loop, data, &recurse); + if (stop) + result = GNOME_VFS_ERROR_INTERRUPTED; if (! stop && recurse
_______________________________________________ gnome-vfs-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-vfs-list
