# HG changeset patch # User Sean Egan # Date 1070510589 0 # Node ID 31fd796d39093ab1f8006f15d11bc119bb02b32f # Parent 36727d6e1d5ada5515b33ec6daba3180aa97bd67 [gaim-migrate @ 8377] Fixed links. committer: Tailor Script diff -r 36727d6e1d5a -r 31fd796d3909 src/gtkimhtml.c --- a/src/gtkimhtml.c Thu Dec 04 03:20:39 2003 +0000 +++ b/src/gtkimhtml.c Thu Dec 04 04:03:09 2003 +0000 @@ -1104,10 +1104,10 @@ } \ } \ if (url) { \ + gtk_text_buffer_apply_tag_by_name(imhtml->text_buffer, "LINK", &siter, &iter); \ + texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, "foreground", "blue", "underline", PANGO_UNDERLINE_SINGLE, NULL); \ g_signal_connect(G_OBJECT(texttag), "event", G_CALLBACK(tag_event), g_strdup(url)); \ - gtk_text_buffer_apply_tag_by_name(imhtml->text_buffer, "LINK", &siter, &iter); \ - texttag = gtk_text_buffer_create_tag(imhtml->text_buffer, NULL, NULL); \ - g_object_set_data(G_OBJECT(texttag), "link_url", g_strdup(url)); \ + g_object_set_data(G_OBJECT(texttag), "link_url", g_strdup(url)); \ gtk_text_buffer_apply_tag(imhtml->text_buffer, texttag, &siter, &iter); \ } \ wpos = 0; \