On Wednesday, August 13, 2014 11:27:59 PM IST, Jan Kundrát wrote:
On Wednesday, 13 August 2014 19:48:26 CEST, Thomas Lübking wrote:
Actually, I don't see a reason why the body should be hidden for the same reason.

Yes, but there's a pretty big impedance mismatch between what Trojita-the-viewer can display (any MIME structure) and what Trojita-the-composer can produce, and therefore represent in uts present GUI (a text/plain, or a multipart/mixed with a flat list of arbitrary attachments). The underlying API is also very different.

I was going to say the same.

My suggestion is to reuse the message *viewer* in this case. Why not just rip out the AttachmentView and the QTextEdit from the existing widget and have it replaced by a Message822View?

Only for the redirect composer dialog? Is it useful? All we wanted was that the user should be able to be sure of what message she picked for redirection. Isn't subject (and maybe timestamp, original sender, if needed) enough information for one to realise that a wrong message is about to be redirected. Does being able to see the read-only message add value?
Cheers,
Karan

Reply via email to