diff options
author | Chris Toshok <toshok@src.gnome.org> | 2003-05-19 20:32:56 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-05-19 20:32:56 +0800 |
commit | b9ad9cb66ff7836be5a5298abc767d64facf5d1c (patch) | |
tree | be3b66ad4c7f237b13e72073b05669a1b4846344 /addressbook | |
parent | 4357b9b71d8e1ba9f766ed78fee9b966daa48bb8 (diff) | |
download | gsoc2013-evolution-b9ad9cb66ff7836be5a5298abc767d64facf5d1c.tar.gz gsoc2013-evolution-b9ad9cb66ff7836be5a5298abc767d64facf5d1c.tar.zst gsoc2013-evolution-b9ad9cb66ff7836be5a5298abc767d64facf5d1c.zip |
i2003-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.
svn path=/trunk/; revision=21240
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook-component.c | 10 |
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); |