From 7a6143871342888bfb3f3844fc8c94f0fe7ed18e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Wed, 27 Apr 2011 17:42:49 +0200 Subject: Bug #303653 - Make headers collapsable in preview pane --- mail/em-format-html.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mail/em-format-html.h') diff --git a/mail/em-format-html.h b/mail/em-format-html.h index 01d7b02435..4e62cb7e37 100644 --- a/mail/em-format-html.h +++ b/mail/em-format-html.h @@ -69,6 +69,11 @@ typedef enum { EM_FORMAT_HTML_STATE_RENDERING } EMFormatHTMLState; +typedef enum { + EM_FORMAT_HTML_HEADERS_STATE_EXPANDED = 0, /* Default value */ + EM_FORMAT_HTML_HEADERS_STATE_COLLAPSED +} EMFormatHTMLHeadersState; + typedef enum { EM_FORMAT_HTML_COLOR_BODY, /* header area background */ EM_FORMAT_HTML_COLOR_CITATION, /* citation font color */ @@ -277,6 +282,13 @@ void em_format_html_job_queue (EMFormatHTML *efh, gboolean em_format_html_get_show_real_date (EMFormatHTML *efh); void em_format_html_set_show_real_date (EMFormatHTML *efh, gboolean show_real_date); +EMFormatHTMLHeadersState + em_format_html_get_headers_state (EMFormatHTML *efh); +void em_format_html_set_headers_state (EMFormatHTML *efh, + EMFormatHTMLHeadersState state); +gboolean em_format_html_get_headers_collapsable (EMFormatHTML *efh); +void em_format_html_set_headers_collapsable (EMFormatHTML *efh, + gboolean collapsable); gchar * em_format_html_format_cert_infos (CamelCipherCertInfo *first_cinfo); -- cgit v1.2.3