aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-13 05:28:52 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-13 05:28:52 +0800
commitdd8def8723363ab8600eac24c4fc1a5d530f05c2 (patch)
tree150f21bc6a244cce1f3e3203fef81ae3891df47c
parentc60e4c4a61f7b285601e707888bd8c4a1d29cd51 (diff)
downloadgsoc2013-evolution-dd8def8723363ab8600eac24c4fc1a5d530f05c2.tar
gsoc2013-evolution-dd8def8723363ab8600eac24c4fc1a5d530f05c2.tar.gz
gsoc2013-evolution-dd8def8723363ab8600eac24c4fc1a5d530f05c2.tar.bz2
gsoc2013-evolution-dd8def8723363ab8600eac24c4fc1a5d530f05c2.tar.lz
gsoc2013-evolution-dd8def8723363ab8600eac24c4fc1a5d530f05c2.tar.xz
gsoc2013-evolution-dd8def8723363ab8600eac24c4fc1a5d530f05c2.tar.zst
gsoc2013-evolution-dd8def8723363ab8600eac24c4fc1a5d530f05c2.zip
Convert URLS so we can get clickable links.
2001-10-12 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_error_write): Convert URLS so we can get clickable links. svn path=/trunk/; revision=13628
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-display.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index df036271ed..5ad3f80de2 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-10-12 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-display.c (mail_error_write): Convert URLS so we can get
+ clickable links.
+
* message-list.c: Removed score stuff.
2001-10-12 Jon Trowbridge <trow@ximian.com>
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 1187c2237d..71a1ccbaf6 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -1321,7 +1321,7 @@ mail_error_write (GtkHTML *html, GtkHTMLStream *stream,
buf = g_strdup_vprintf (format, ap);
va_end (ap);
- htmltext = e_text_to_html (buf, E_TEXT_TO_HTML_CONVERT_NL);
+ htmltext = e_text_to_html (buf, E_TEXT_TO_HTML_CONVERT_NL | E_TEXT_TO_HTML_CONVERT_URLS);
gtk_html_write (html, stream, "<blockquote><em><font color=red>", 32);
gtk_html_write (html, stream, htmltext, strlen (htmltext));
gtk_html_write (html, stream, "</font></em></blockquote>", 29);