Mercurial > pidgin
changeset 5294:d579d5367836
[gaim-migrate @ 5666]
When you "get info" for AIM now, and someone has their info set to
"http://google.com" (and not
"<A HREF="http://google.com">http://google.com</a> the link will now
be clickable. The function I changed is used by irc, gg, jabber, toc,
and zephyr, so I'm not sure what side affects this might have. It
should all be good though.
If anyone thinks this should be reverted, feel free.
Oh, and I'll be really busy with exams for the next 9 or so days.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 04 May 2003 03:32:18 +0000 |
parents | ead927e2543f |
children | 399390d74514 |
files | src/dialogs.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dialogs.c Sun May 04 00:17:15 2003 +0000 +++ b/src/dialogs.c Sun May 04 03:32:18 2003 +0000 @@ -2402,8 +2402,11 @@ gtk_imhtml_append_text(GTK_IMHTML(b->text), info, -1, options); va_start(ap, info); - while ((more_info = va_arg(ap, char *)) != NULL) - gtk_imhtml_append_text(GTK_IMHTML(b->text), more_info, -1, options); + while ((more_info = va_arg(ap, char *)) != NULL) { + gchar *linkifyinated = linkify_text(more_info); + gtk_imhtml_append_text(GTK_IMHTML(b->text), linkifyinated, -1, options); + g_free(linkifyinated); + } va_end(ap); if (away)