changeset 15191:1a54e98534ec

[gaim-migrate @ 17980] make this add a newline for both incomming and outgoing im's. Note that this is only for displayed messages. We do not, repeat, do NOT, send the newline to chats and other users. committer: Tailor Script <tailor@pidgin.im>
author Gary Kramlich <grim@reaperworld.com>
date Wed, 13 Dec 2006 02:11:14 +0000
parents 2e35d63bf8f1
children d380e165cd27
files libgaim/plugins/newline.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/plugins/newline.c	Wed Dec 13 01:42:58 2006 +0000
+++ b/libgaim/plugins/newline.c	Wed Dec 13 02:11:14 2006 +0000
@@ -45,13 +45,9 @@
 {
 	void *conversation = gaim_conversations_get_handle();
 
-	gaim_signal_connect(conversation, "displaying-im-msg",
-						plugin, GAIM_CALLBACK(addnewline_msg_cb), NULL);
-	gaim_signal_connect(conversation, "displaying-chat-msg",
+	gaim_signal_connect(conversation, "writing-im-msg",
 						plugin, GAIM_CALLBACK(addnewline_msg_cb), NULL);
-	gaim_signal_connect(conversation, "receiving-im-msg",
-						plugin, GAIM_CALLBACK(addnewline_msg_cb), NULL);
-	gaim_signal_connect(conversation, "receiving-chat-msg",
+	gaim_signal_connect(conversation, "writing-chat-msg",
 						plugin, GAIM_CALLBACK(addnewline_msg_cb), NULL);
 
 	return TRUE;