gvfs r1294 - in trunk: . daemon



Author: alexl
Date: Mon Feb 18 10:54:01 2008
New Revision: 1294
URL: http://svn.gnome.org/viewvc/gvfs?rev=1294&view=rev

Log:
2008-02-18  Alexander Larsson  <alexl redhat com>

	* daemon/gvfsjobenumerate.c (g_vfs_job_enumerate_add_info):
	Ensure we're using "/" as separator for uris.
	This only affects win32, which probably doesn't work atm, but
	still its nice to be explicit.



Modified:
   trunk/ChangeLog
   trunk/daemon/gvfsjobenumerate.c

Modified: trunk/daemon/gvfsjobenumerate.c
==============================================================================
--- trunk/daemon/gvfsjobenumerate.c	(original)
+++ trunk/daemon/gvfsjobenumerate.c	Mon Feb 18 10:54:01 2008
@@ -186,7 +186,7 @@
       escaped_name = g_uri_escape_string (g_file_info_get_name (info),
 					  G_URI_RESERVED_CHARS_ALLOWED_IN_PATH,
 					  FALSE);
-      uri = g_build_filename (job->uri, escaped_name, NULL);
+      uri = g_build_path ("/", job->uri, escaped_name, NULL);
       g_free (escaped_name);
     }
   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]