gvfs r1572 - in trunk: . daemon
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1572 - in trunk: . daemon
- Date: Thu, 6 Mar 2008 09:59:20 +0000 (GMT)
Author: alexl
Date: Thu Mar 6 09:59:20 2008
New Revision: 1572
URL: http://svn.gnome.org/viewvc/gvfs?rev=1572&view=rev
Log:
2008-03-06 Alexander Larsson <alexl redhat com>
* daemon/gvfsbackenddav.c:
(do_mount):
Set display name for dav mount (#519588)
Modified:
trunk/ChangeLog
trunk/daemon/gvfsbackenddav.c
Modified: trunk/daemon/gvfsbackenddav.c
==============================================================================
--- trunk/daemon/gvfsbackenddav.c (original)
+++ trunk/daemon/gvfsbackenddav.c Thu Mar 6 09:59:20 2008
@@ -1146,6 +1146,7 @@
gboolean is_webdav;
gboolean res;
char *last_good_path;
+ char *display_name;
g_print ("+ mount\n");
@@ -1270,7 +1271,11 @@
g_vfs_backend_set_mount_spec (backend, mount_spec);
g_vfs_backend_set_icon_name (backend, "folder-remote");
-
+
+ display_name = g_strdup_printf (_("WebDAV on %s"), host);
+ g_vfs_backend_set_display_name (backend, display_name);
+ g_free (display_name);
+
/* cleanup */
g_mount_spec_unref (mount_spec);
g_object_unref (msg_opts);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]