From 54a4ffe22bcf2cc25f9bf7465b57597e429b2512 Mon Sep 17 00:00:00 2001 From: Carsten Guenther Date: Fri, 12 Aug 2005 21:19:52 +0000 Subject: Use slash instead of G_DIR_SEPARATOR_S since URIs always use slash as separator svn path=/trunk/; revision=30101 --- calendar/gui/dialogs/comp-editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c index 6bb39cdb81..93b654e3ba 100644 --- a/calendar/gui/dialogs/comp-editor.c +++ b/calendar/gui/dialogs/comp-editor.c @@ -625,7 +625,7 @@ get_attachment_list (CompEditor *editor) filename = g_strdup_printf ("%s-%s", comp_uid, safe_fname); - attach_file_url = g_build_path (G_DIR_SEPARATOR_S, local_store, filename, NULL); + attach_file_url = g_build_path ("/", local_store, filename, NULL); g_free (filename); g_free (safe_fname); @@ -1017,7 +1017,7 @@ attachment_bar_icon_clicked_cb (EAttachmentBar *bar, GdkEvent *event, CompEditor comp_uid, camel_mime_part_get_filename(attachment->body)); - attach_file_url = g_build_path (G_DIR_SEPARATOR_S, local_store, filename, NULL); + attach_file_url = g_build_path ("/", local_store, filename, NULL); /* launch the url now */ /* TODO should send GError and handle error conditions -- cgit v1.2.3