aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-01-23 04:09:19 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-01-23 04:09:19 +0800
commit7abbd4b41b93efb3791f5498a191ff99ae8361e0 (patch)
treef4222f0f1dc3ccccf18781838a566a9fc0610a7f /addressbook
parent4f646fd08b8f965144553f545d9044518465069e (diff)
downloadgsoc2013-evolution-7abbd4b41b93efb3791f5498a191ff99ae8361e0.tar.gz
gsoc2013-evolution-7abbd4b41b93efb3791f5498a191ff99ae8361e0.tar.zst
gsoc2013-evolution-7abbd4b41b93efb3791f5498a191ff99ae8361e0.zip
Remove deleted records from the pilot map so we don't have dupes in the
001-01-21 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (delete_record): Remove deleted records from the pilot map so we don't have dupes in the future svn path=/trunk/; revision=7720
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/conduit/address-conduit.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 52a6d9050b..26ffeff849 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-21 JP Rosevear <jpr@ximian.com>
+
+ * conduit/address-conduit.c (delete_record): Remove
+ deleted records from the pilot map so we don't have dupes in the future
+
2001-01-19 Dan Winship <danw@ximian.com>
* gui/widgets/e-addressbook-view.c (table_right_click):
diff --git a/addressbook/conduit/address-conduit.c b/addressbook/conduit/address-conduit.c
index ec0856bc5a..aea9809732 100644
--- a/addressbook/conduit/address-conduit.c
+++ b/addressbook/conduit/address-conduit.c
@@ -973,13 +973,14 @@ delete_record (GnomePilotConduitSyncAbs *conduit,
LOG ("delete_record: delete %s\n", print_local (local));
+ e_pilot_map_remove_by_uid (ctxt->map, local->ecard->id);
e_book_remove_card_by_id (ctxt->ebook, local->ecard->id, status_cb, &commit_status);
gtk_main (); /* enter sub mainloop */
if (commit_status != E_BOOK_STATUS_SUCCESS && commit_status != E_BOOK_STATUS_CARD_NOT_FOUND)
WARN ("delete_record: failed to delete card in ebook\n");
-
+
return retval;
}
nsertions'>+3 * Add USE_CSTD=gnu89 to fix linking when building with clangpawel2012-07-061-0/+1 * - update png to 1.5.10dinoex2012-06-011-1/+1 * - Return my ports back to the pool. I was unable to make any fixes tostas2011-10-241-1/+1 * Remove USE_GNOME=gnometarget from ports. It has been a empty keyword sincekwm2011-08-121-1/+1 * - remove MD5ohauer2011-07-031-1/+0 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 * - update to 1.4.1dinoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-051-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-2/+1 * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1