Re: [evolution-patches] propsed patch for 38084 [Contacts]
- From: Chris Toshok <toshok ximian com>
- To: Sean Gao <sean gao sun com>
- Cc: evolution-patches lists ximian com
- Subject: Re: [evolution-patches] propsed patch for 38084 [Contacts]
- Date: 12 May 2003 01:51:51 -0700
why not move the summary as well?
On Mon, 2003-05-12 at 01:19, Sean Gao wrote:
> 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]