Mercurial > pidgin.yaz
comparison src/dialogs.c @ 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 | 8bd4f777489f |
children | 1f901484599d |
comparison
equal
deleted
inserted
replaced
5293:ead927e2543f | 5294:d579d5367836 |
---|---|
2400 options ^= GTK_IMHTML_NO_SCROLL; | 2400 options ^= GTK_IMHTML_NO_SCROLL; |
2401 | 2401 |
2402 gtk_imhtml_append_text(GTK_IMHTML(b->text), info, -1, options); | 2402 gtk_imhtml_append_text(GTK_IMHTML(b->text), info, -1, options); |
2403 | 2403 |
2404 va_start(ap, info); | 2404 va_start(ap, info); |
2405 while ((more_info = va_arg(ap, char *)) != NULL) | 2405 while ((more_info = va_arg(ap, char *)) != NULL) { |
2406 gtk_imhtml_append_text(GTK_IMHTML(b->text), more_info, -1, options); | 2406 gchar *linkifyinated = linkify_text(more_info); |
2407 gtk_imhtml_append_text(GTK_IMHTML(b->text), linkifyinated, -1, options); | |
2408 g_free(linkifyinated); | |
2409 } | |
2407 va_end(ap); | 2410 va_end(ap); |
2408 | 2411 |
2409 if (away) | 2412 if (away) |
2410 info_dlgs = g_slist_remove(info_dlgs, b); | 2413 info_dlgs = g_slist_remove(info_dlgs, b); |
2411 else | 2414 else |