# HG changeset patch # User Sadrul Habib Chowdhury # Date 1188017625 0 # Node ID 2128daf52d31fe1830e527ffe84185c7b1bc9c2d # Parent 3d42c005fc17d0e9247904bf8603db4a5fd7c019 Reattach the gtk-ui to a conversation when the user wants to reopen the conversation from pidgin. diff -r 3d42c005fc17 -r 2128daf52d31 pidgin/gtkblist.c --- a/pidgin/gtkblist.c Sat Aug 25 04:50:57 2007 +0000 +++ b/pidgin/gtkblist.c Sat Aug 25 04:53:45 2007 +0000 @@ -331,8 +331,10 @@ conv = purple_find_conversation_with_account(PURPLE_CONV_TYPE_CHAT, name, chat->account); - if (conv != NULL) + if (conv != NULL) { + pidgin_conv_attach_to_conversation(conv); purple_conversation_present(conv); + } serv_join_chat(chat->account->gc, chat->components); g_free(chat_name); diff -r 3d42c005fc17 -r 2128daf52d31 pidgin/gtkdialogs.c --- a/pidgin/gtkdialogs.c Sat Aug 25 04:50:57 2007 +0000 +++ b/pidgin/gtkdialogs.c Sat Aug 25 04:53:45 2007 +0000 @@ -765,6 +765,7 @@ if (conv == NULL) conv = purple_conversation_new(PURPLE_CONV_TYPE_IM, account, username); + pidgin_conv_attach_to_conversation(conv); purple_conversation_present(conv); }