Commit 83a033be authored by cypherpunk's avatar cypherpunk
Browse files

	* gtk-conv.c: Don't delete the OTR menus if a non-foreground
	conversation window is closed.
parent 4b7e5911
2008-07-07
* gtk-conv.c: Don't delete the OTR menus if a non-foreground
conversation window is closed.
2008-07-02
* dialogs.c:
......
......@@ -2187,6 +2187,12 @@ static void conversation_destroyed(PurpleConversation *conv, void *data)
otrg_gtk_dialog_free_smp_data(conv);
gtkconv = PIDGIN_CONVERSATION ( conv );
/* Only delete the OTR menus if we're the active conversation */
if (gtkconv != pidgin_conv_window_get_active_gtkconv(gtkconv->win)) {
return;
}
win = pidgin_conv_get_window ( gtkconv );
menu_list = g_hash_table_lookup ( otr_win_menus, win );
iter = menu_list;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment