Ok, I checked the code. The menus are enabled in gtk-dialog.c (at least some of them, I have not yet fully understood the code).
The attached patch removes the top menu "OTR".
Note that the menu in the lower right is located in the "Formatting Toolbars". Thus, if we remove the second upper menu in the chat window and the user has disabled the formatting toolbar, there is no way of making any settings to OTR. I therefore suggest of removing the OTR menu in the lower right. I don't see how it fits into the formatting toolbar anyway.
Ok, I checked the code. The menus are enabled in gtk-dialog.c (at least some of them, I have not yet fully understood the code).
The attached patch removes the top menu "OTR".
Note that the menu in the lower right is located in the "Formatting Toolbars". Thus, if we remove the second upper menu in the chat window and the user has disabled the formatting toolbar, there is no way of making any settings to OTR. I therefore suggest of removing the OTR menu in the lower right. I don't see how it fits into the formatting toolbar anyway.
Adrian