# HG changeset patch # User Sadrul Habib Chowdhury # Date 1167165605 0 # Node ID d728da06e0e8dbc9c09488d3409c22427681e2ac # Parent 132db06150ca82f7252510d7436a9f2030d30ee2 [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 "check this out ;)" too. Do people use links/smileys like this a lot? If they do, this probably needs to be reverted. committer: Tailor Script diff -r 132db06150ca -r d728da06e0e8 gtk/gtkimhtml.c --- a/gtk/gtkimhtml.c Tue Dec 26 19:22:03 2006 +0000 +++ b/gtk/gtkimhtml.c Tue Dec 26 20:40:05 2006 +0000 @@ -2966,7 +2966,8 @@ c += tlen; pos += tlen; g_free(tag); /* This was allocated back in VALID_TAG() */ - } else if (gtk_imhtml_is_smiley(imhtml, fonts, c, &smilelen)) { + } else if (imhtml->edit.link == NULL && + gtk_imhtml_is_smiley(imhtml, fonts, c, &smilelen)) { GtkIMHtmlFontDetail *fd; gchar *sml = NULL;