Commit Graph

6 Commits

Author SHA1 Message Date
5ce8bf667d [text/plain parser] Use original part when nothing found inline
This way the view corresponds to the original part properties,
not those stripped by the inline filter. Also initialize
EMailInlineFilter::filename on creation of the structure, thus
the value is actually used on the subparts, if needed.
2012-09-13 08:41:27 +02:00
181ae9cd3e Bug #680635 - Inline GPG shown as source 2012-07-26 15:35:46 +02:00
8663b54cae 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)
2012-07-25 11:29:22 +02:00
cc8bf823ec Coding style and whitespace cleanup. 2012-06-24 20:31:43 -04:00
f960fd2dff Reduce usage of g_type_class_peek_parent().
G_DEFINE_TYPE macros define a static "parent_class" variable.
2012-06-24 20:31:42 -04:00
5b8340563c Mail formatter rewrite
All mail-parsing and formatting code has been moved to em-format.
Parsing is handeled by EMailParser class, formatting by EMailFormatter.
Both classes have registry which hold extensions - simple classes
that do actual parsing and formatting. Each supported mime-type
has it's own parser and formatter extension class.
2012-06-06 15:27:19 +02:00