gvfs r1102 - in trunk: . daemon
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1102 - in trunk: . daemon
- Date: Fri, 11 Jan 2008 19:23:29 +0000 (GMT)
Author: alexl
Date: Fri Jan 11 19:23:29 2008
New Revision: 1102
URL: http://svn.gnome.org/viewvc/gvfs?rev=1102&view=rev
Log:
2008-01-11 Alexander Larsson <alexl redhat com>
* daemon/gvfsbackendhttp.c:
Make http mount not user visible.
Set backend mount spec in try_mount.
Modified:
trunk/ChangeLog
trunk/daemon/gvfsbackendhttp.c
Modified: trunk/daemon/gvfsbackendhttp.c
==============================================================================
--- trunk/daemon/gvfsbackendhttp.c (original)
+++ trunk/daemon/gvfsbackendhttp.c Fri Jan 11 19:23:29 2008
@@ -77,6 +77,7 @@
static void
g_vfs_backend_http_init (GVfsBackendHttp *backend)
{
+ g_vfs_backend_set_user_visible (backend, FALSE);
}
static gboolean
@@ -89,6 +90,7 @@
GVfsBackendHttp *op_backend;
const char *uri_str;
SoupUri *uri;
+ GMountSpec *real_mount_spec;
op_backend = G_VFS_BACKEND_HTTP (backend);
@@ -108,6 +110,10 @@
return TRUE;
}
+ real_mount_spec = g_mount_spec_new ("http");
+ g_mount_spec_set (real_mount_spec, "uri", uri_str);
+ g_vfs_backend_set_mount_spec (backend, mount_spec);
+
op_backend->mount_base = uri;
op_backend->session = soup_session_async_new_with_options (SOUP_SESSION_ASYNC_CONTEXT,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]