aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.h
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2011-04-27 23:42:49 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:58 +0800
commit4542662853b2a7707f09a5428d3121d00faf93ba (patch)
tree3c73a29e0d70f3f4c9f74f884d89842b2cdd7114 /mail/em-format-html.h
parent2abbff465156c62c0825190a4408fe92b4d55bc1 (diff)
downloadgsoc2013-evolution-4542662853b2a7707f09a5428d3121d00faf93ba.tar
gsoc2013-evolution-4542662853b2a7707f09a5428d3121d00faf93ba.tar.gz
gsoc2013-evolution-4542662853b2a7707f09a5428d3121d00faf93ba.tar.bz2
gsoc2013-evolution-4542662853b2a7707f09a5428d3121d00faf93ba.tar.lz
gsoc2013-evolution-4542662853b2a7707f09a5428d3121d00faf93ba.tar.xz
gsoc2013-evolution-4542662853b2a7707f09a5428d3121d00faf93ba.tar.zst
gsoc2013-evolution-4542662853b2a7707f09a5428d3121d00faf93ba.zip
Bug #303653 - Make headers collapsable in preview pane
Diffstat (limited to 'mail/em-format-html.h')
-rw-r--r--mail/em-format-html.h12
1 files changed, 12 insertions, 0 deletions
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
@@ -70,6 +70,11 @@ typedef enum {
} 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 */
EM_FORMAT_HTML_COLOR_CONTENT, /* message area background */
@@ -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);