From 9a72bf0ee79e5b4d8cbe6c42b4b1303560cf6877 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 8 May 2000 06:35:47 +0000 Subject: Fixed this up a bit. Syncing should work better now. 2000-05-08 Christopher James Lahey * backend/ebook/e-card-simple.c: Fixed this up a bit. Syncing should work better now. svn path=/trunk/; revision=2910 --- addressbook/ChangeLog | 5 +++++ addressbook/backend/ebook/e-card-simple.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 07b556b16e..50ac011433 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2000-05-08 Christopher James Lahey + + * backend/ebook/e-card-simple.c: Fixed this up a bit. Syncing + should work better now. + 2000-05-08 Christopher James Lahey * gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c, diff --git a/addressbook/backend/ebook/e-card-simple.c b/addressbook/backend/ebook/e-card-simple.c index f2bcaaabc4..e6a043ab9e 100644 --- a/addressbook/backend/ebook/e-card-simple.c +++ b/addressbook/backend/ebook/e-card-simple.c @@ -709,6 +709,7 @@ e_card_simple_sync_card(ECardSimple *simple) for (i = 0; i < E_CARD_SIMPLE_PHONE_ID_LAST; i ++) { if ((phone->flags & phone_correspondences[i]) == phone_correspondences[i]) { if (simple->phone[i]) { + simple->phone[i]->flags = phone_correspondences[i]; if (simple->phone[i]->number && *simple->phone[i]->number) { e_card_iterator_set(iterator, simple->phone[i]); } else { @@ -766,6 +767,7 @@ e_card_simple_sync_card(ECardSimple *simple) for (i = 0; i < E_CARD_SIMPLE_ADDRESS_ID_LAST; i ++) { if ((address->flags & addr_correspondences[i]) == addr_correspondences[i]) { if (simple->address[i]) { + simple->address[i]->flags = addr_correspondences[i]; if (simple->address[i]->data && *simple->address[i]->data) { e_card_iterator_set(iterator, simple->address[i]); } else { -- cgit v1.2.3