diff options
Diffstat (limited to 'plugins/prefer-plain/org-gnome-prefer-plain.eplug.xml')
-rw-r--r-- | plugins/prefer-plain/org-gnome-prefer-plain.eplug.xml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/prefer-plain/org-gnome-prefer-plain.eplug.xml b/plugins/prefer-plain/org-gnome-prefer-plain.eplug.xml new file mode 100644 index 0000000000..3d426e592f --- /dev/null +++ b/plugins/prefer-plain/org-gnome-prefer-plain.eplug.xml @@ -0,0 +1,38 @@ +<?xml version="1.0"?> +<e-plugin-list> + <e-plugin + type="shlib" + id="org.gnome.evolution.plugin.preferPlain" + location="@PLUGINDIR@/liborg-gnome-prefer-plain.so" + _name="Prefer plain-text"> + + + <_description>A test plugin which demonstrates a formatter plugin + which lets you choose to disable HTML mails.</_description> + <author name="Michael Zucchi" email="NotZed@Ximian.com"/> + + + <!-- hook into the 'html mail' preferences page --> + <hook class="org.gnome.evolution.mail.config:1.0"> + <group target="prefs" id="org.gnome.evolution.mail.prefs"> + <!-- we could also just insert our own items from a section factory, --> + <!-- but then we also need to create our own section frame --> + <item type="section_table" path="10.html/80.mode" _label="Plain Text Mode"/> + <item type="item_table" path="10.html/80.mode/00.mode" factory="org_gnome_prefer_plain_config_mode"/> + </group> + </hook> + + <hook class="org.gnome.evolution.mail.format:1.0"> + <!-- need to override all formatters that override this type --> + <group id="EMFormatHTMLDisplay"> + <item mime_type="multipart/alternative" format="org_gnome_prefer_plain_multipart_alternative"/> + <item mime_type="text/html" format="org_gnome_prefer_plain_text_html"/> + </group> + <group id="EMFormat"> + <item mime_type="multipart/alternative" format="org_gnome_prefer_plain_multipart_alternative"/> + <item mime_type="text/html" format="org_gnome_prefer_plain_text_html"/> + </group> + </hook> + + </e-plugin> +</e-plugin-list> |