aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-print-config-headers.c
Commit message (Collapse)AuthorAgeFilesLines
* EMailPrintConfigHeaders: Derive from ETreeViewFrame.Matthew Barnes2013-06-261-421/+52
| | | | | EMailPrintConfigHeaders is pretty simple now that we delegate most of the meat and potatoes tree view handling to our new parent class.
* Add EMailPrintConfigHeaders.Matthew Barnes2013-06-081-0/+659
This splits the print dialog's "Headers" tab into a separate widget. EMailPrintConfigHeaders takes an EMailPartHeaders and displays its print model, which is a representation of all message headers (except subject) with an on/off flag for each. The headers can be toggled and reordered, and the changes are written back to the print model. During printing, EMailFormatterPrintHeaders uses the same print model to determine which headers to show and in what order (except subject). This approach is much saner than the old method, which was trying to manipulate WebKitWebView DOM directly to toggle and reorder headers. This approach also happens to work, whereas the old method did not.