From dd8def8723363ab8600eac24c4fc1a5d530f05c2 Mon Sep 17 00:00:00 2001
From: Jeffrey Stedfast <fejj@ximian.com>
Date: Fri, 12 Oct 2001 21:28:52 +0000
Subject: 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
---
 mail/ChangeLog      | 3 +++
 mail/mail-display.c | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

(limited to 'mail')

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);
-- 
cgit v1.2.3