aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-local-storage.c7
2 files changed, 10 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 7dd7fbe112..0fd1604075 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-22 Peter Williams <peterw@ximian.com>
+
+ * e-local-storage.c (async_xfer_folder_callback): Fix the improper
+ construction of the new folder's physical URI.
+
2001-08-22 Ettore Perazzoli <ettore@ximian.com>
* e-local-storage.c (remove_folder): Don't remove the folder
diff --git a/shell/e-local-storage.c b/shell/e-local-storage.c
index 4685aa5c7d..5707c55aa1 100644
--- a/shell/e-local-storage.c
+++ b/shell/e-local-storage.c
@@ -805,8 +805,9 @@ async_xfer_folder_callback (EvolutionShellComponentClient *shell_component_clien
XferItem *item;
EFolder *source_folder;
EFolder *destination_folder;
+ char *dest_physical_path;
char *new_physical_uri;
-
+
/* FIXME handle errors. */
xfer_data = (XferData *) callback_data;
@@ -818,7 +819,9 @@ async_xfer_folder_callback (EvolutionShellComponentClient *shell_component_clien
e_folder_get_type_string (source_folder),
e_folder_get_description (source_folder));
- new_physical_uri = g_strconcat ("file:///", item->destination_path, NULL);
+ dest_physical_path = e_path_to_physical (xfer_data->local_storage->priv->base_path, item->destination_path);
+ new_physical_uri = g_strconcat ("file://", dest_physical_path, NULL);
+ g_free (dest_physical_path);
e_folder_set_physical_uri (destination_folder, new_physical_uri);
g_free (new_physical_uri);