Mercurial > pidgin
diff pidgin/gtkconv.c @ 22336:63f102c210ad
This should fix the issue with persistent conversations getting closed all unexpected like.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 25 Feb 2008 15:24:49 +0000 |
parents | 36036b9489fe |
children | fdda2b8a4146 361b2e61a219 |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Mon Feb 25 00:25:51 2008 +0000 +++ b/pidgin/gtkconv.c Mon Feb 25 15:24:49 2008 +0000 @@ -2806,16 +2806,11 @@ void pidgin_conv_present_conversation(PurpleConversation *conv) { - PidginConversation *gtkconv = PIDGIN_CONVERSATION(conv); + PidginConversation *gtkconv; GdkModifierType state; - if (gtkconv == NULL) { - pidgin_conv_attach_to_conversation(conv); - gtkconv = PIDGIN_CONVERSATION(conv); - } else if (gtkconv->win == hidden_convwin) { - pidgin_conv_window_remove_gtkconv(hidden_convwin, gtkconv); - pidgin_conv_placement_place(gtkconv); - } + pidgin_conv_attach_to_conversation(conv); + gtkconv = PIDGIN_CONVERSATION(conv); pidgin_conv_switch_active_conversation(conv); /* Switch the tab only if the user initiated the event by pressing