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
committerMilan Crha <mcrha@redhat.com>2011-04-27 23:42:49 +0800
commit7a6143871342888bfb3f3844fc8c94f0fe7ed18e (patch)
tree9562c1311beb62767437e008b809266e7af06809 /mail/em-format-html.h
parent5fcaadbc9a16f711c0fe81933ec9615f289c8fa8 (diff)
downloadgsoc2013-evolution-7a6143871342888bfb3f3844fc8c94f0fe7ed18e.tar
gsoc2013-evolution-7a6143871342888bfb3f3844fc8c94f0fe7ed18e.tar.gz
gsoc2013-evolution-7a6143871342888bfb3f3844fc8c94f0fe7ed18e.tar.bz2
gsoc2013-evolution-7a6143871342888bfb3f3844fc8c94f0fe7ed18e.tar.lz
gsoc2013-evolution-7a6143871342888bfb3f3844fc8c94f0fe7ed18e.tar.xz
gsoc2013-evolution-7a6143871342888bfb3f3844fc8c94f0fe7ed18e.tar.zst
gsoc2013-evolution-7a6143871342888bfb3f3844fc8c94f0fe7ed18e.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);