[PATCH] enable trash usage on NTFS partitions



Hi,

Trash usage is currently not allowed on NTFS partitions although NTFS now supports write access.

This simple patch allows trashing on NTFS partitions.

The corresponding bugzilla issues is http://bugzilla.gnome.org/show_bug.cgi?id=488699

Note that nautilus currently doesn't use the _gnome_vfs_filesystem_use_trash function which leads to bug like this http://bugzilla.gnome.org/show_bug.cgi?id=157259 and https://bugs.launchpad.net/ubuntu/+source/gnome-vfs2/+bug/140968
I will post another patch for this bug.

Yann



diff -Nur gnome-vfs2-2.20.0/libgnomevfs/gnome-vfs-filesystem-type.c gnome-vfs2-2.20.0.new/libgnomevfs/gnome-vfs-filesystem-type.c
--- gnome-vfs2-2.20.0/libgnomevfs/gnome-vfs-filesystem-type.c	2007-10-20 18:23:53.000000000 +0200
+++ gnome-vfs2-2.20.0.new/libgnomevfs/gnome-vfs-filesystem-type.c	2007-10-20 18:24:24.000000000 +0200
@@ -65,7 +65,7 @@
 	{ "msdosfs"  , N_("MSDOS Volume"), 0 },
 	{ "nfs"      , N_("NFS Network Volume"), 1 },
 	{ "nfs4"     , N_("NFS Network Volume"), 1 },
-	{ "ntfs"     , N_("Windows NT Volume"), 0 },
+	{ "ntfs"     , N_("Windows NT Volume"), 1 },
 	{ "nwfs"     , N_("Netware Volume"), 0 },
 	{ "proc"     , N_("System Volume"), 0 },
 	{ "procfs"   , N_("System Volume"), 0 },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]