? gnome-vfsmm.spec
? libgnomevfs/gnome-vfsmm-2.6-uninstalled.pc
? libgnomevfs/gnome-vfsmm-2.6.pc
? libgnomevfs/libgnomevfsmm/address.cc
? libgnomevfs/libgnomevfsmm/address.h
? libgnomevfs/libgnomevfsmm/async-handle.cc
? libgnomevfs/libgnomevfsmm/async-handle.h
? libgnomevfs/libgnomevfsmm/drive.cc
? libgnomevfs/libgnomevfsmm/drive.h
? libgnomevfs/libgnomevfsmm/resolve-handle.cc
? libgnomevfs/libgnomevfsmm/resolve-handle.h
? libgnomevfs/libgnomevfsmm/volume-monitor.cc
? libgnomevfs/libgnomevfsmm/volume-monitor.h
? libgnomevfs/libgnomevfsmm/volume.cc
? libgnomevfs/libgnomevfsmm/volume.h
? libgnomevfs/libgnomevfsmm/private/address_p.h
? libgnomevfs/libgnomevfsmm/private/async-handle_p.h
? libgnomevfs/libgnomevfsmm/private/drive_p.h
? libgnomevfs/libgnomevfsmm/private/resolve-handle_p.h
? libgnomevfs/libgnomevfsmm/private/volume-monitor_p.h
? libgnomevfs/libgnomevfsmm/private/volume_p.h
Index: examples/transfer/main.cc
===================================================================
RCS file: /cvs/gnome/gnomemm/gnome-vfsmm/examples/transfer/main.cc,v
retrieving revision 1.8
diff -u -p -r1.8 main.cc
--- examples/transfer/main.cc	13 Feb 2004 18:22:28 -0000	1.8
+++ examples/transfer/main.cc	13 Aug 2006 23:31:59 -0000
@@ -29,21 +29,21 @@ int print_error (const Gnome::Vfs::excep
   return 1;
 }
 
-bool on_transfer_progress(const Gnome::Vfs::Transfer::ProgressInfo& info)
+gint on_transfer_progress(const Gnome::Vfs::Transfer::ProgressInfo& info)
 {
-  bool returnState = true;
-  
   if(info)
   {
     switch (info.get_status())
     {
       case Gnome::Vfs::XFER_PROGRESS_STATUS_VFSERROR:
         std::cout << "VFS Error: " << gnome_vfs_result_to_string(static_cast<GnomeVFSResult>(info.get_vfs_status())) << std::endl;
-        exit(1);
+        // This is a matter of choice (see ErrorAction enum):
+        return Gnome::Vfs::XFER_ERROR_ACTION_ABORT;
         
       case Gnome::Vfs::XFER_PROGRESS_STATUS_OVERWRITE:
         std::cout << "Overwriting " << info.get_target_name() << " with " << info.get_source_name() << std::endl;
-        exit(1);
+        // Choose from OverwriteAction:
+        return Gnome::Vfs::XFER_OVERWRITE_ACTION_REPLACE;
         
       case Gnome::Vfs::XFER_PROGRESS_STATUS_OK:
       {
@@ -109,8 +109,7 @@ bool on_transfer_progress(const Gnome::V
         break;
     }
   }
-
-  return returnState;
+  return true;
 }
 
 int main (int argc, char** argv)
Index: libgnomevfs/libgnomevfsmm/transfer.h
===================================================================
RCS file: /cvs/gnome/gnomemm/gnome-vfsmm/libgnomevfs/libgnomevfsmm/transfer.h,v
retrieving revision 1.12
diff -u -p -r1.12 transfer.h
--- libgnomevfs/libgnomevfsmm/transfer.h	13 Feb 2004 18:22:29 -0000	1.12
+++ libgnomevfs/libgnomevfsmm/transfer.h	13 Aug 2006 23:31:59 -0000
@@ -42,9 +42,8 @@ namespace Transfer
 typedef Glib::ListHandle<Glib::ustring> ListHandleStrings;
 typedef Glib::ListHandle< Glib::RefPtr<const Uri> > ListHandleUris;
 
-//TODO: Find out what the return value is meant to be for.
-/// For instance, int on_transfer_progress(GnomeVFSXferProgressInfo* info);
-typedef sigc::slot<bool, const ProgressInfo&> SlotProgress;
+/// For instance, gint on_transfer_progress(const Gnome::Vfs::Transfer::ProgressInfo& info);
+typedef sigc::slot<gint, const ProgressInfo&> SlotProgress;
 
 
 void transfer_list(const Glib::StringArrayHandle& source_uri_list, const Glib::StringArrayHandle& target_uri_list,
