diff options
author | William Jon McCann <jmccann@redhat.com> | 2012-08-30 14:38:37 -0400 |
---|---|---|
committer | William Jon McCann <jmccann@redhat.com> | 2012-08-30 14:54:10 -0400 |
commit | 3ef1deba4a05597a8b2bba6222ce9d94b02d6312 (patch) | |
tree | 6e09a6e8d361b740e92187bc893f8487bb57056b /daemon/mount.c | |
parent | 232a247b77fdf693cfccb3327712c85661f9fd9a (diff) | |
download | gvfs-3ef1deba4a05597a8b2bba6222ce9d94b02d6312.tar.gz |
Don't use the display name to make the unique mount point
https://bugzilla.gnome.org/show_bug.cgi?id=682878
Diffstat (limited to 'daemon/mount.c')
-rw-r--r-- | daemon/mount.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/daemon/mount.c b/daemon/mount.c index edbba5aa..6b787ef8 100644 --- a/daemon/mount.c +++ b/daemon/mount.c @@ -648,16 +648,11 @@ handle_register_mount (GVfsDBusMountTracker *object, if (arg_user_visible) { - char *fs_name; - - /* Keep in sync with fuse daemon */ - fs_name = g_uri_escape_string (mount->stable_name, "+@#$., ", TRUE); - /* Use the old .gvfs location as fallback, not .cache/gvfs */ if (g_get_user_runtime_dir() == g_get_user_cache_dir ()) - mount->fuse_mountpoint = g_build_filename (g_get_home_dir(), ".gvfs", fs_name, NULL); + mount->fuse_mountpoint = g_build_filename (g_get_home_dir(), ".gvfs", mount->stable_name, NULL); else - mount->fuse_mountpoint = g_build_filename (g_get_user_runtime_dir(), "gvfs", fs_name, NULL); + mount->fuse_mountpoint = g_build_filename (g_get_user_runtime_dir(), "gvfs", mount->stable_name, NULL); } mounts = g_list_prepend (mounts, mount); |