aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/comp-editor.c')
-rw-r--r--calendar/gui/dialogs/comp-editor.c4
1 files changed, 2 insertions, 2 deletions
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