Mercurial > pidgin
diff console/gntblist.c @ 14388:f4af666fafe3
[gaim-migrate @ 17094]
Contactize the conversations.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 31 Aug 2006 04:39:21 +0000 |
parents | d1e4e986bbd1 |
children | 81932c1ec6cf |
line wrap: on
line diff
--- a/console/gntblist.c Thu Aug 31 03:13:54 2006 +0000 +++ b/console/gntblist.c Thu Aug 31 04:39:21 2006 +0000 @@ -17,6 +17,7 @@ #include "gnttree.h" #include "gntblist.h" +#include "gntconv.h" #include "gntstatus.h" #include <string.h> @@ -496,9 +497,10 @@ if (GAIM_BLIST_NODE_IS_BUDDY(node)) { GaimBuddy *buddy = (GaimBuddy *)node; - gaim_conversation_new(GAIM_CONV_TYPE_IM, - gaim_buddy_get_account(buddy), - gaim_buddy_get_name(buddy)); + GaimConversation *conv = gaim_conversation_new(GAIM_CONV_TYPE_IM, + gaim_buddy_get_account(buddy), + gaim_buddy_get_name(buddy)); + gg_conversation_set_active(conv); } else if (GAIM_BLIST_NODE_IS_CHAT(node)) {