[evolution-patches] propsed patch for 38084 [Contacts]
- From: Sean Gao <sean gao sun com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] propsed patch for 38084 [Contacts]
- Date: Mon, 12 May 2003 16:19:50 +0800
Hi There,
I have an investigation about this issue and find that the reason
for this problem is that
the "summary" file in the oriiginal folder is not removed. Therefore I
write this proposed
patch, it works for me. Please help to have a look.
Thanks,
-Sean
Index: addressbook-component.c
===================================================================
RCS file: /cvs/gnome/evolution/addressbook/gui/component/addressbook-component.c,v
retrieving revision 1.86
diff -u -r1.86 addressbook-component.c
--- addressbook-component.c 5 Mar 2003 02:05:34 -0000 1.86
+++ addressbook-component.c 12 May 2003 08:08:42 -0000
@@ -344,6 +344,14 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]