Created an attachment (id=382141)
A patch to enable and disable the Reply-* menu options and toolbar buttons.
Re mail/base/content/msgHdrViewOverlay.js, line 417-418:
I also figured out that I don't need to call UpdateReplyButtons() from messageHeaderSink.onEndHeaders(), because that method calls UpdateMessageHeaders() which calls updateHeaderViews(), which calls UpdateReplyButtons().
I think we can get rid of the call to UpdateJunkButton() in messageHeaderSink.onEndHeaders() as well, for the same reason, but I haven't made that change in this patch.
Created an attachment (id=382141)
A patch to enable and disable the Reply-* menu options and toolbar buttons.
Re mail/base/ content/ msgHdrViewOverl ay.js, line 417-418:
I also figured out that I don't need to call UpdateReplyButt ons() from messageHeaderSi nk.onEndHeaders (), because that method calls UpdateMessageHe aders() which calls updateHeaderVie ws(), which calls UpdateReplyButt ons().
I think we can get rid of the call to UpdateJunkButton() in messageHeaderSi nk.onEndHeaders () as well, for the same reason, but I haven't made that change in this patch.