[gvfs] Use default location instead of root when activating mounts in computer



commit 63b1632f428f1efffda4dc7e070e470983457df7
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Nov 27 13:13:43 2009 +0100

    Use default location instead of root when activating mounts in computer

 daemon/gvfsbackendcomputer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gvfsbackendcomputer.c b/daemon/gvfsbackendcomputer.c
index 7c6000c..8eb1868 100644
--- a/daemon/gvfsbackendcomputer.c
+++ b/daemon/gvfsbackendcomputer.c
@@ -440,7 +440,7 @@ recompute_files (GVfsBackendComputer *backend)
                                                               G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE);
           file->icon = g_mount_get_icon (file->mount);
           file->display_name = display_name;
-          file->root = g_mount_get_root (file->mount);
+          file->root = g_mount_get_default_location (file->mount);
           file->can_unmount = g_mount_can_unmount (file->mount);
           file->can_eject = g_mount_can_eject (file->mount);
         }



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