aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-03-29 06:22:40 +0800
committerChris Toshok <toshok@src.gnome.org>2003-03-29 06:22:40 +0800
commit1ebc39be4ef89d876f919df18b516e0c9e93ccdb (patch)
treea6ee2399a38b5f7fc4d355e038fb4d167281a81f /addressbook/backend
parent02546395deebd56211a55a7f8e9ad2bf00adddf0 (diff)
downloadgsoc2013-evolution-1ebc39be4ef89d876f919df18b516e0c9e93ccdb.tar
gsoc2013-evolution-1ebc39be4ef89d876f919df18b516e0c9e93ccdb.tar.gz
gsoc2013-evolution-1ebc39be4ef89d876f919df18b516e0c9e93ccdb.tar.bz2
gsoc2013-evolution-1ebc39be4ef89d876f919df18b516e0c9e93ccdb.tar.lz
gsoc2013-evolution-1ebc39be4ef89d876f919df18b516e0c9e93ccdb.tar.xz
gsoc2013-evolution-1ebc39be4ef89d876f919df18b516e0c9e93ccdb.tar.zst
gsoc2013-evolution-1ebc39be4ef89d876f919df18b516e0c9e93ccdb.zip
[ fix the contact editor so that the only time the address is parsed is
2003-03-28 Chris Toshok <toshok@ximian.com> [ fix the contact editor so that the only time the address is parsed is when the user types in the address GtkTextView. ] * gui/contact-editor/e-contact-editor.c (address_mailing_changed): make this use delivery addresses instead of labels. (full_addr_clicked): same. (find_address_mailing): same. * backend/ebook/e-card-simple.c (e_card_simple_set_delivery_address): make this operate similar to e_card_simple_set_address: it sets both the delivery address and the label for the address. svn path=/trunk/; revision=20567
Diffstat (limited to 'addressbook/backend')
-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 0acc304840..db008011cd 100644
--- a/addressbook/backend/ebook/e-card-simple.c
+++ b/addressbook/backend/ebook/e-card-simple.c
@@ -783,6 +783,8 @@ void e_card_simple_set_delivery_address (ECardSimple *simple
{
e_card_delivery_address_unref(simple->delivery[id]);
simple->delivery[id] = e_card_delivery_address_ref(delivery);
+ e_card_address_label_unref(simple->address[id]);
+ simple->address[id] = e_card_delivery_address_to_label(simple->delivery[id]);
simple->changed = TRUE;
}