diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-09-27 07:20:05 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-09-27 07:20:05 +0800 |
commit | 7aa81a66d90518b8bda0f01fd2e9b75dba5f10e2 (patch) | |
tree | 856dcaca36870f4185b68169f770d50754db2851 | |
parent | a232b28ce62cd4a3735cc0cc3197f3ac3aa0179c (diff) | |
download | gsoc2013-evolution-7aa81a66d90518b8bda0f01fd2e9b75dba5f10e2.tar.gz gsoc2013-evolution-7aa81a66d90518b8bda0f01fd2e9b75dba5f10e2.tar.zst gsoc2013-evolution-7aa81a66d90518b8bda0f01fd2e9b75dba5f10e2.zip |
Use camel_address_format, not camel_address_encode.
2001-09-26 Jon Trowbridge <trow@ximian.com>
* mail-format.c (write_address): Use camel_address_format,
not camel_address_encode.
svn path=/trunk/; revision=13174
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-format.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 6f39f5d053..780e1c5a81 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2001-09-26 Jon Trowbridge <trow@ximian.com> + * mail-format.c (write_address): Use camel_address_format, + not camel_address_encode. + * mail-display.c (html_button_press_event): Decode our URL before extracting the address to pop up contact info. diff --git a/mail/mail-format.c b/mail/mail-format.c index 029fb5ab4b..72c470fd42 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -828,7 +828,7 @@ write_address (MailDisplay *md, const CamelInternetAddress *addr, const char *fi subaddr = camel_internet_address_new (); camel_internet_address_add (subaddr, name, email); - addr_txt = camel_address_encode (CAMEL_ADDRESS (subaddr)); + addr_txt = camel_address_format (CAMEL_ADDRESS (subaddr)); addr_url = camel_url_encode (addr_txt, TRUE, NULL); camel_object_unref (CAMEL_OBJECT (subaddr)); @@ -863,7 +863,7 @@ write_address (MailDisplay *md, const CamelInternetAddress *addr, const char *fi mail_html_write (md->html, md->stream, "<i>%s</i>", str); g_free (str); } - + g_free (name_arg); g_free (email_arg); g_free (name_disp); |