Files
evolution/plugins/sa-junk-plugin/org-gnome-sa-junk-plugin.eplug.xml
Matthew Barnes 32f545cdf0 Simplify EPlugin loading at startup.
- Require all EPlugin and EPluginHook subtypes be registered before
  loading plugins.  This drastically simplifies the EPlugin/EPluginHook
  negotiation.

- Turn most EPluginHook subtypes into GTypeModules and register their
  types from an e_module_load() function (does not include shell hooks).

- Convert EPluginLib and the Mono and Python bindings to GTypeModules
  and register their types from an e_module_load() function, and kill
  EPluginTypeHook.
2009-08-29 17:23:20 -04:00

25 lines
1.0 KiB
XML

<?xml version="1.0"?>
<e-plugin-list>
<e-plugin id="org.gnome.evolution.sa_junk_plugin"
type="shlib" _name="SpamAssassin Junk Filter"
location="@PLUGINDIR@/liborg-gnome-sa-junk-plugin@SOEXT@">
<_description>Filter junk messages using SpamAssassin.</_description>
<author name="Vivek Jain" email="jvivek@novell.com"/>
<hook class="org.gnome.evolution.mail.junk:1.0">
<interface name="SpamAssassin"
check_junk="em_junk_sa_check_junk"
report_junk="em_junk_sa_report_junk"
report_non_junk="em_junk_sa_report_non_junk"
commit_reports="em_junk_sa_commit_reports"
validate_binary="em_junk_sa_validate_binary"/>
</hook>
<!-- hook into the 'mail properties' menu -->
<hook class="org.gnome.evolution.mail.config:1.0">
<group target="prefs" id="org.gnome.evolution.mail.prefs">
<item type="section_table" path="40.junk/10.options" _label="SpamAssassin Options"/>
<item type="item_table" path="40.junk/20.options" factory="org_gnome_sa_use_remote_tests"/>
</group>
</hook>
</e-plugin>
</e-plugin-list>