aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/backend/ebook/e-destination.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 9afb5b126c..b7695085c9 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-26 Jon Trowbridge <trow@ximian.com>
+
+ * backend/ebook/e-destination.c (e_destination_get_textrep): Use
+ camel_address_format, not camel_address_encode.
+
2001-09-26 Anna Marie Dirks <anna@ximian.com>
* gui/contact-editor/contact-editor.glade: Added help text (thanks
diff --git a/addressbook/backend/ebook/e-destination.c b/addressbook/backend/ebook/e-destination.c
index 970057f1fe..ecbda7b497 100644
--- a/addressbook/backend/ebook/e-destination.c
+++ b/addressbook/backend/ebook/e-destination.c
@@ -821,7 +821,7 @@ e_destination_get_textrep (const EDestination *dest)
CamelInternetAddress *addr = camel_internet_address_new ();
camel_internet_address_add (addr, name, email);
g_free (dest->priv->textrep);
- dest->priv->textrep = camel_address_encode (CAMEL_ADDRESS (addr));
+ dest->priv->textrep = camel_address_format (CAMEL_ADDRESS (addr));
camel_object_unref (CAMEL_OBJECT (addr));
}