changeset 13357:af03d3b20cd2

[gaim-migrate @ 15730] Linkify Text Logs Closes SF Feature Request #1196927 committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Wed, 01 Mar 2006 05:37:26 +0000
parents 554575d1f9b5
children 708baf7cfee8
files src/log.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/log.c	Wed Mar 01 05:13:26 2006 +0000
+++ b/src/log.c	Wed Mar 01 05:37:26 2006 +0000
@@ -1221,7 +1221,9 @@
 		g_free(read);
 		minus_header2 = g_markup_escape_text(minus_header, -1);
 		g_free(minus_header);
-		return minus_header2;
+		read = gaim_markup_linkify(minus_header2);
+		g_free(minus_header2);
+		return read;
 	}
 	return g_strdup_printf(_("<font color=\"red\"><b>Could not read file: %s</b></font>"), data->path);
 }
@@ -1401,7 +1403,8 @@
 	else {
 		tmp = g_markup_escape_text(read, -1);
 		g_free(read);
-		read = tmp;
+		read = gaim_markup_linkify(tmp);
+		g_free(tmp);
 	}
 	return read;
 }