gvfs r1852 - in trunk: . daemon
- From: gicmo svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1852 - in trunk: . daemon
- Date: Sat, 2 Aug 2008 19:43:38 +0000 (UTC)
Author: gicmo
Date: Sat Aug 2 19:43:38 2008
New Revision: 1852
URL: http://svn.gnome.org/viewvc/gvfs?rev=1852&view=rev
Log:
Bug 525779: Dont look for trashs dir on sys mounts
Don't include internal mountswhile building up the list of trash
directories. Bug #525779
Modified:
trunk/ChangeLog
trunk/daemon/gvfsbackendtrash.c
Modified: trunk/daemon/gvfsbackendtrash.c
==============================================================================
--- trunk/daemon/gvfsbackendtrash.c (original)
+++ trunk/daemon/gvfsbackendtrash.c Sat Aug 2 19:43:38 2008
@@ -572,8 +572,11 @@
{
mount = l->data;
- topdir = g_unix_mount_get_mount_path (mount);
- topdirs = g_list_prepend (topdirs, g_strdup (topdir));
+ if (!g_unix_mount_is_system_internal (mount) )
+ {
+ topdir = g_unix_mount_get_mount_path (mount);
+ topdirs = g_list_prepend (topdirs, g_strdup (topdir));
+ }
g_unix_mount_free (mount);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]