diff pidgin/gtkconv.c @ 15579:74b945e7609c

Moved linkification of incoming messages to pidgin_conv_write_conv()
author Evan Schoenberg <evan.s@dreskin.net>
date Tue, 06 Feb 2007 19:22:34 +0000
parents 442128853bdb
children b03021cef5cb
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Mon Feb 05 19:06:25 2007 +0000
+++ b/pidgin/gtkconv.c	Tue Feb 06 19:22:34 2007 +0000
@@ -4825,7 +4825,8 @@
 	gc = gaim_account_get_connection(account);
 	g_return_if_fail(gc != NULL);
 
-	displaying = g_strdup(message);
+	/* Make sure URLs are clickable */
+	displaying = gaim_markup_linkify(message);
 	plugin_return = GPOINTER_TO_INT(gaim_signal_emit_return_1(
 							pidgin_conversations_get_handle(), (type == GAIM_CONV_TYPE_IM ?
 							"displaying-im-msg" : "displaying-chat-msg"),