Mercurial > pidgin.yaz
changeset 7732:31fd796d3909
[gaim-migrate @ 8377]
Fixed links.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 04 Dec 2003 04:03:09 +0000 |
parents | 36727d6e1d5a |
children | 8b6c08c50b26 |
files | src/gtkimhtml.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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; \