Index: libgnomevfs/gnome-vfs-volume-ops.c
===================================================================
RCS file: /cvs/gnome/gnome-vfs/libgnomevfs/gnome-vfs-volume-ops.c,v
retrieving revision 1.22
diff -u -p -r1.22 gnome-vfs-volume-ops.c
--- libgnomevfs/gnome-vfs-volume-ops.c	30 Jun 2005 09:17:20 -0000	1.22
+++ libgnomevfs/gnome-vfs-volume-ops.c	15 Sep 2005 16:11:30 -0000
@@ -789,6 +789,86 @@ gnome_vfs_drive_eject (GnomeVFSDrive  *d
 	gnome_vfs_drive_volume_list_free (vol_list);
 }
 
+static gboolean
+volume_set_gconf_string (GnomeVFSVolume *volume,
+			 const char     *key,
+			 const char     *value)
+{
+	GConfClient *client;
+	char *full_key;
+	gboolean ret;
+
+	client = gconf_client_get_default ();
+
+	full_key = g_strconcat (CONNECTED_SERVERS_DIR "/",
+				volume->priv->gconf_id,
+				"/", key, NULL);
+	ret = gconf_client_set_string (client, full_key, value, NULL);
+	g_free (full_key);
+
+	return ret;
+}
+
+/** 
+ * gnome_vfs_volume_connected_server_set_activation_uri
+ * @volume: a #GnomeVFSVolume for which to set the activation URI
+ * @activation_uri: the new activation URI to use for @volume.
+ *
+ * Returns: Whether setting the activation URI succeeded.
+ *
+ * Since: 2.14
+ */
+gboolean
+gnome_vfs_volume_connected_server_set_activation_uri (GnomeVFSVolume *volume,
+						      const char     *activation_uri)
+{
+	g_return_val_if_fail (volume != NULL, FALSE);
+	g_return_val_if_fail (volume->priv->volume_type == GNOME_VFS_VOLUME_TYPE_CONNECTED_SERVER, FALSE);
+	g_return_val_if_fail (activation_uri != NULL, FALSE);
+
+	return volume_set_gconf_string (volume, "uri", activation_uri);
+}
+
+/** 
+ * gnome_vfs_volume_connected_server_set_display_name
+ * @volume: a #GnomeVFSVolume for which to set the display name
+ * @uri: the new display name to use for @volume.
+ *
+ * Returns: Whether setting the display name succeeded.
+ *
+ * Since: 2.14
+ */
+gboolean
+gnome_vfs_volume_connected_server_set_display_name (GnomeVFSVolume *volume,
+						    const char     *display_name)
+{
+	g_return_val_if_fail (volume != NULL, FALSE);
+	g_return_val_if_fail (volume->priv->volume_type == GNOME_VFS_VOLUME_TYPE_CONNECTED_SERVER, FALSE);
+	g_return_val_if_fail (display_name != NULL, FALSE);
+
+	return volume_set_gconf_string (volume, "display_name", display_name);
+}
+
+/** 
+ * gnome_vfs_volume_connected_server_set_display_name
+ * @volume: a #GnomeVFSVolume for which to set the display name
+ * @uri: the new icon to use for @volume.
+ *
+ * Returns: Whether setting the icon succeeded.
+ *
+ * Since: 2.14
+ */
+gboolean
+gnome_vfs_volume_connected_server_set_icon (GnomeVFSVolume *volume,
+					    const char     *icon)
+{
+	g_return_val_if_fail (volume != NULL, FALSE);
+	g_return_val_if_fail (volume->priv->volume_type == GNOME_VFS_VOLUME_TYPE_CONNECTED_SERVER, FALSE);
+	g_return_val_if_fail (icon != NULL, FALSE);
+
+	return volume_set_gconf_string (volume, "icon", icon);
+}
+
 
 /** 
  * gnome_vfs_connect_to_server:
Index: libgnomevfs/gnome-vfs-volume.h
===================================================================
RCS file: /cvs/gnome/gnome-vfs/libgnomevfs/gnome-vfs-volume.h,v
retrieving revision 1.8
diff -u -p -r1.8 gnome-vfs-volume.h
--- libgnomevfs/gnome-vfs-volume.h	14 Apr 2005 18:48:29 -0000	1.8
+++ libgnomevfs/gnome-vfs-volume.h	15 Sep 2005 16:11:30 -0000
@@ -116,6 +116,12 @@ gboolean           gnome_vfs_volume_hand
 gint               gnome_vfs_volume_compare             (GnomeVFSVolume *a,
 							 GnomeVFSVolume *b);
 
+gboolean gnome_vfs_volume_connected_server_set_activation_uri (GnomeVFSVolume *volume,
+							       const char     *activation_uri);
+gboolean gnome_vfs_volume_connected_server_set_display_name   (GnomeVFSVolume *volume,
+							       const char     *display_name);
+gboolean gnome_vfs_volume_connected_server_set_icon           (GnomeVFSVolume *volume,
+							       const char     *icon);
 
 void gnome_vfs_volume_unmount    (GnomeVFSVolume           *volume,
 				  GnomeVFSVolumeOpCallback  callback,
