I'm sending this here because gnomemm list seems to be died, so sorry if
it's a little bit off topic.
I'm studying libgnomevfsmm, but I've a problem with this example code:
#include <libgnomevfsmm/init.h>
#include <libgnomevfsmm/transfer.h>
void foo(const Glib::ustring& src_path,
const Glib::ustring& target_path)
{
using namespace Gnome;
Vfs::init();
try {
Vfs::Transfer::transfer(src_path, target_path,
Vfs::XFER_FOLLOW_LINKS,
Vfs::XFER_ERROR_MODE_QUERY,
Vfs::XFER_OVERWRITE_MODE_SKIP);
}
catch(Vfs::exception& e) {
g_print("Failed: %s\n", e.what().data());
}
}
transfer() throws _always_ an exception. e.what() returns "Operation
interrupted".
I really don't know what's wrong with that... anyone have any ideas?
Thanks in advance,
s.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list