aboutsummaryrefslogtreecommitdiffstats
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
parentc6386aa9b9f861dee1712fa5ce9cba9f68cdc057 (diff)
downloadgsoc2013-evolution-9a72bf0ee79e5b4d8cbe6c42b4b1303560cf6877.tar.gz
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
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/backend/ebook/e-card-simple.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 07b556b16e..50ac011433 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,10 @@
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.
+
+2000-05-08 Christopher James Lahey <clahey@helixcode.com>
+
* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c,
gui/minicard/e-minicard.h, gui/minicard/e-reflow-sorted.c,
gui/minicard/e-reflow-sorted.h: Made a minimal number of things be
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 {