Re: File removal
- From: Alexander Larsson <alexl redhat com>
- To: Matthias Kaeppler <matthias finitestate org>
- Cc: gnome-vfs-list gnome org
- Subject: Re: File removal
- Date: Mon, 21 Nov 2005 09:39:07 +0100
On Sun, 2005-11-20 at 10:01 +0100, Matthias Kaeppler wrote:
> Hi,
>
> I noticed that Nautilus calls gnome_vfs_async_xfer() in its functions
> for removing files. How does this work? I'm not talking about moving
> files to the trash bin, but "real" deletion.
If you pass GNOME_VFS_XFER_DELETE_ITEMS to gnome_vfs_xfer you it deletes
the file. *_xfer is really a generic api for all sorts of things.
> Ain't there any gnome_vfs_remove() functions?
There is gnome_vfs_unlink() and gnome_vfs_unlink_from_uri() which are
the low-level versions of deletion.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a shy alcoholic assassin who hides his scarred face behind a mask. She's
a virginal Buddhist college professor living homeless in New York's sewers.
They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]