# HG changeset patch # User Mark Doliner # Date 1063773762 0 # Node ID bb70dc39778201bea6da5162e8bbbfbe52d2ac0d # Parent 155645d0f0aa005fcab5358a2125eb59051c3ce1 [gaim-migrate @ 7420] Links in AIM infos, away messages, and I guess other things should be clickable now. They should have been a while ago, but I overlooked something when I tried to do this the first time. There's a new Dido CD coming out at the end of this month. committer: Tailor Script diff -r 155645d0f0aa -r bb70dc397782 src/dialogs.c --- a/src/dialogs.c Wed Sep 17 04:16:05 2003 +0000 +++ b/src/dialogs.c Wed Sep 17 04:42:42 2003 +0000 @@ -1810,8 +1810,9 @@ GtkWidget *bbox; GtkWidget *sw; gint options = 0; + gchar *linkifyinated; + va_list ap; char *more_info; - va_list ap; struct info_dlg *b = find_info_dlg(gc, who); if (!b && (away == 1)) @@ -1868,7 +1869,9 @@ options ^= GTK_IMHTML_NO_NEWLINE; options ^= GTK_IMHTML_NO_SCROLL; - gtk_imhtml_append_text(GTK_IMHTML(b->text), info, -1, options); + linkifyinated = linkify_text(info); + gtk_imhtml_append_text(GTK_IMHTML(b->text), linkifyinated, -1, options); + g_free(linkifyinated); va_start(ap, info); while ((more_info = va_arg(ap, char *)) != NULL) {