[evolution] Bug #627101 - Not able to attach files in calendar



commit 680c58a7660020c614690421ff0e37ee55b2c9aa
Author: Milan Crha <mcrha redhat com>
Date:   Mon Aug 30 13:58:12 2010 +0200

    Bug #627101 - Not able to attach files in calendar

 calendar/gui/dialogs/comp-editor.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index ce01b7d..6c5092e 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -273,7 +273,7 @@ get_attachment_list (CompEditor *editor)
 	GSList *list = NULL;
 	const gchar *comp_uid = NULL;
 	const gchar *local_store;
-	gchar *uri;
+	gchar *path;
 	gint ii;
 
 	struct {
@@ -291,9 +291,9 @@ get_attachment_list (CompEditor *editor)
 
 	local_store = e_cal_get_local_attachment_store (editor->priv->client);
 	e_cal_component_get_uid (editor->priv->comp, &comp_uid);
-	uri = g_build_path ("/", local_store, comp_uid, NULL);
-	destination = g_file_new_for_uri (uri);
-	g_free (uri);
+	path = g_build_path ("/", local_store, comp_uid, NULL);
+	destination = g_file_new_for_path (path);
+	g_free (path);
 
 	e_attachment_store_save_async (
 		store, destination, (GAsyncReadyCallback)



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