From 27c92e7f3d166e0ab38ad8d652b3c5079a86cddb Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 11 May 2013 16:05:22 -0400 Subject: Add EMailPrintConfigHeaders. 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. --- po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) (limited to 'po') diff --git a/po/POTFILES.in b/po/POTFILES.in index cd2e191b88..bd23b8b706 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -333,6 +333,7 @@ mail/e-mail-label-list-store.c mail/e-mail-label-manager.c mail/e-mail-label-tree-view.c mail/e-mail-migrate.c +mail/e-mail-print-config-headers.c mail/e-mail-printer.c mail/e-mail-reader.c mail/e-mail-reader-utils.c -- cgit v1.2.3