diff finch/gntblist.c @ 22418:b0b8c94118c8

Make sure an existing conversation selected from the 'Send IM' dialog is given the focus.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 06 Mar 2008 15:54:30 +0000
parents 561729870929
children 8445ea581a6e
line wrap: on
line diff
--- a/finch/gntblist.c	Wed Mar 05 10:00:45 2008 +0000
+++ b/finch/gntblist.c	Thu Mar 06 15:54:30 2008 +0000
@@ -2610,11 +2610,13 @@
 {
 	PurpleAccount *account;
 	const char *username;
+	PurpleConversation *conv;
 
 	account  = purple_request_fields_get_account(fields, "account");
 	username = purple_request_fields_get_string(fields,  "screenname");
 
-	purple_conversation_new(PURPLE_CONV_TYPE_IM, account, username);
+	conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, username);
+	purple_conversation_present(conv);
 }
 
 static void