aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-08 14:35:47 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-08 14:35:47 +0800
commit9a72bf0ee79e5b4d8cbe6c42b4b1303560cf6877 (patch)
tree76b5a4a992ef6cd8bd0f2a4b26507aff14ae054f /addressbook/backend/ebook
parentc6386aa9b9f861dee1712fa5ce9cba9f68cdc057 (diff)
downloadgsoc2013-evolution-9a72bf0ee79e5b4d8cbe6c42b4b1303560cf6877.tar
gsoc2013-evolution-9a72bf0ee79e5b4d8cbe6c42b4b1303560cf6877.tar.gz
gsoc2013-evolution-9a72bf0ee79e5b4d8cbe6c42b4b1303560cf6877.tar.bz2
gsoc2013-evolution-9a72bf0ee79e5b4d8cbe6c42b4b1303560cf6877.tar.lz
gsoc2013-evolution-9a72bf0ee79e5b4d8cbe6c42b4b1303560cf6877.tar.xz
gsoc2013-evolution-9a72bf0ee79e5b4d8cbe6c42b4b1303560cf6877.tar.zst
gsoc2013-evolution-9a72bf0ee79e5b4d8cbe6c42b4b1303560cf6877.zip
Fixed this up a bit. Syncing should work better now.
2000-05-08 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c: Fixed this up a bit. Syncing should work better now. svn path=/trunk/; revision=2910
Diffstat (limited to 'addressbook/backend/ebook')
-rw-r--r--addressbook/backend/ebook/e-card-simple.c2
1 files changed, 2 insertions, 0 deletions
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 {