diff src/dialogs.c @ 7707:17756d5dcfdf

[gaim-migrate @ 8352] WYSIWYGed links. They'll have tooltips, but they won't be clickable. That sounds like the right thing to do to me. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 03 Dec 2003 01:12:41 +0000
parents cf6a7939af78
children 3d9d3d21e600
line wrap: on
line diff
--- a/src/dialogs.c	Tue Dec 02 23:59:23 2003 +0000
+++ b/src/dialogs.c	Wed Dec 03 01:12:41 2003 +0000
@@ -934,8 +934,7 @@
 		if (!strlen(showtext))
 			showtext = urltext;
 
-		g_snprintf(open_tag, 2048, "<A HREF=\"%s\">%s", urltext, showtext);
-		gaim_gtk_surround(gtkconv, open_tag, "</A>");
+		gtk_imhtml_insert_link(GTK_IMHTML(gtkconv->entry), urltext, showtext);
 
 		g_free(open_tag);
 	}