Commit 600cc425 authored by Ian Goldberg's avatar Ian Goldberg
Browse files

Remove OTR menu for non-OTR conversation tabs

When switching to a conversation tab for which the user has explicitly
disabled OTR, remove the OTR menus from the top menu bar.  Thanks to
Greg Troxel <gdt@ir.bbn.com> for reporting the issue.
parent 2875df76
2012-09-02
* gtk-dialog.c (otrg_gtk_dialog_new_purple_conv): When switching
to a conversation tab for which the user has explicitly disabled
OTR, remove the OTR menus from the top menu bar. Thanks to Greg
Troxel <gdt@ir.bbn.com> for reporting the issue.
2012-08-27
* otr-plugin.c: Add a timer_control callback for the last-minute
......
......@@ -2898,6 +2898,7 @@ static void otrg_gtk_dialog_new_purple_conv(PurpleConversation *conv)
/* OTR is disabled for this buddy */
if (prefs.policy == OTRL_POLICY_NEVER) {
otr_destroy_top_menu_objects(conv);
return;
}
......
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