changeset 7718:da04da151ec6

[gaim-migrate @ 8363] When dragging a buddy into a window, we want to create the new conversation in that window. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 03 Dec 2003 05:18:07 +0000
parents db3bdae1761e
children 853ef377a850
files src/gtkconv.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Wed Dec 03 05:12:24 2003 +0000
+++ b/src/gtkconv.c	Wed Dec 03 05:18:07 2003 +0000
@@ -3800,7 +3800,7 @@
 		GaimAccount *account;
 
 		if (gaim_gtk_parse_x_im_contact(sd->data, FALSE, &account,
-										&protocol, &username, NULL))
+						&protocol, &username, NULL))
 		{
 			if (account == NULL)
 			{
@@ -3810,7 +3810,8 @@
 			}
 			else
 			{
-				gaim_conversation_new(GAIM_CONV_IM, account, username);
+				c = gaim_conversation_new(GAIM_CONV_IM, account, username);
+				gaim_conv_window_add_conversation(win, c);
 			}
 		}