gvfs r2098 - in trunk: . daemon
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r2098 - in trunk: . daemon
- Date: Tue, 18 Nov 2008 09:57:47 +0000 (UTC)
Author: alexl
Date: Tue Nov 18 09:57:46 2008
New Revision: 2098
URL: http://svn.gnome.org/viewvc/gvfs?rev=2098&view=rev
Log:
2008-11-18 Alexander Larsson <alexl redhat com>
* daemon/gvfsbackendsftp.c:
If user is specified, add to name too, so we get a unique fuse path
Modified:
trunk/ChangeLog
trunk/daemon/gvfsbackendsftp.c
Modified: trunk/daemon/gvfsbackendsftp.c
==============================================================================
--- trunk/daemon/gvfsbackendsftp.c (original)
+++ trunk/daemon/gvfsbackendsftp.c Tue Nov 18 09:57:46 2008
@@ -1515,8 +1515,12 @@
g_vfs_backend_set_mount_spec (backend, sftp_mount_spec);
g_mount_spec_unref (sftp_mount_spec);
- /* Translators: This is the name of an sftp share, like "sftp on <hostname>" */
- display_name = g_strdup_printf (_("sftp on %s"), op_backend->host);
+ if (op_backend->user_specified)
+ /* Translators: This is the name of an sftp share, like "sftp on <hostname> as <user>" */
+ display_name = g_strdup_printf (_("sftp on %s as %s"), op_backend->host, op_backend->user);
+ else
+ /* Translators: This is the name of an sftp share, like "sftp on <hostname>" */
+ display_name = g_strdup_printf (_("sftp on %s"), op_backend->host);
g_vfs_backend_set_display_name (backend, display_name);
g_free (display_name);
g_vfs_backend_set_icon_name (backend, "folder-remote");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]