aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook-component.c10
2 files changed, 14 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 0085042571..bfd5f5b1f3 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2003-05-19 Sean Gao <sean.gao@sun.com>
+
+ * gui/component/addressbook-component.c (xfer_folder): remove the
+ summary if @remove_source is TRUE. Fixes 38084.
+
2003-05-16 Anna Marie Dirks <anna@ximian.com>
* gui/contact-list-editor/contact-list-editor.glade: Added
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 04a1e3ebe7..ba18f65e63 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -343,7 +343,15 @@ xfer_folder (EvolutionShellComponent *shell_component,
}
result = xfer_file (src_uri, dest_uri, "addressbook.db", remove_source);
-
+
+ if ((result == GNOME_Evolution_ShellComponentListener_OK) && remove_source) {
+ char *summary_uri;
+
+ summary_uri = g_strconcat (source_physical_uri, "/addressbook.db.summary", NULL);
+ result = gnome_vfs_unlink (summary_uri);
+ g_free (summary_uri);
+ }
+
GNOME_Evolution_ShellComponentListener_notifyResult (listener, result, &ev);
gnome_vfs_uri_unref (src_uri);