Mercurial > pidgin.yaz
comparison gtk/gtkimhtml.c @ 15270:d728da06e0e8
[gaim-migrate @ 18059]
Fix bug #1622466 ("Don't substitute smileys in URIs") by disabling smileys for
links. This is going to cause smileys to be disabled for stuff like
"<a href='abc'>check this out ;)</a>" too. Do people use links/smileys like
this a lot? If they do, this probably needs to be reverted.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 26 Dec 2006 20:40:05 +0000 |
parents | d0f5147753dd |
children | d928cf5ead1b |
comparison
equal
deleted
inserted
replaced
15269:132db06150ca | 15270:d728da06e0e8 |
---|---|
2964 break; | 2964 break; |
2965 } | 2965 } |
2966 c += tlen; | 2966 c += tlen; |
2967 pos += tlen; | 2967 pos += tlen; |
2968 g_free(tag); /* This was allocated back in VALID_TAG() */ | 2968 g_free(tag); /* This was allocated back in VALID_TAG() */ |
2969 } else if (gtk_imhtml_is_smiley(imhtml, fonts, c, &smilelen)) { | 2969 } else if (imhtml->edit.link == NULL && |
2970 gtk_imhtml_is_smiley(imhtml, fonts, c, &smilelen)) { | |
2970 GtkIMHtmlFontDetail *fd; | 2971 GtkIMHtmlFontDetail *fd; |
2971 | 2972 |
2972 gchar *sml = NULL; | 2973 gchar *sml = NULL; |
2973 if (fonts) { | 2974 if (fonts) { |
2974 fd = fonts->data; | 2975 fd = fonts->data; |