From 8663b54cae296883452850f3baad6d4cbc92e220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Wed, 25 Jul 2012 11:29:22 +0200 Subject: Highlighting of text parts and source codes This adds 'Format as' submenu to the preview pane context menu. The submenu is available only for text/plain parts or parts with a source code (we support about 40 various types). Using the 'highlight' utility, the formatter processes the part and highlights the source code it contains. (discussion in bug #680026) --- em-format/e-mail-formatter.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'em-format/e-mail-formatter.h') diff --git a/em-format/e-mail-formatter.h b/em-format/e-mail-formatter.h index c0c21c13b0..9b4e84d262 100644 --- a/em-format/e-mail-formatter.h +++ b/em-format/e-mail-formatter.h @@ -96,6 +96,8 @@ struct _EMailFormatterContext { EMailFormatterMode mode; guint32 flags; + + gchar *uri; }; struct _EMailFormatter { -- cgit v1.2.3