aboutsummaryrefslogtreecommitdiffstats
path: root/maint
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-07-12 19:06:12 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-07-14 10:46:26 +0800
commit8dfd4278a78e7d6ae30f92d50ee46029a5fbd106 (patch)
treea185d4fc44593ad3e727944873641c513b588535 /maint
parent2b342a4d9c020270da929a900b55105fc83bd57b (diff)
downloadgsoc2013-evolution-8dfd4278a78e7d6ae30f92d50ee46029a5fbd106.tar.gz
gsoc2013-evolution-8dfd4278a78e7d6ae30f92d50ee46029a5fbd106.tar.zst
gsoc2013-evolution-8dfd4278a78e7d6ae30f92d50ee46029a5fbd106.zip
Convert junk filtering EPlugins to EExtensions.
We now have a proper junk mail filtering API. All junk filtering extensions must subclass EMailJunkFilter for user preferences and availability testing, and implement the CamelJunkFilter interface for the actual junk filtering and learning operations. The bogofilter module should be feature-equivalent to its former EPlugin. The spamassassin module is far more complex. It's nearly feature-equivalent to its former EPlugin, but I ditched the spamd respawning code since it seemed unnecessary for a mail client to have to deal with. If there's a huge outcry from users about it I'll reluctantly put it back, but I don't expect one. This gets us a step closer to killing off EConfig, and eventually the EPlugin framework itself.
Diffstat (limited to 'maint')
-rw-r--r--maint/evolution.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/maint/evolution.xml b/maint/evolution.xml
index 8f48229dd1..c072734164 100644
--- a/maint/evolution.xml
+++ b/maint/evolution.xml
@@ -17,12 +17,14 @@
<property id="icon-name"/>
</glade-widget-class>
+ <glade-widget-class name="EMailJunkOptions" generic-name="junk-options" title="Junk Mail Options" get-type-function="e_mail_junk_options_get_type"/>
+
<glade-widget-class name="EMFolderSelectionButton" generic-name="folder-selection-button" title="Folder Selection Button" get-type-function="em_folder_selection_button_get_type">
<property id="caption"/>
<property id="title"/>
</glade-widget-class>
- <glade-widget-class name="EPortEntry" generic-name="port-entry" title="Port Entry"/>
+ <glade-widget-class name="EPortEntry" generic-name="port-entry" title="Port Entry" get-type-function="e_port_entry_get_type"/>
<glade-widget-class name="ESourceComboBox" generic-name="source-combo-box" title="Source Combo Box">
<property id="source-list"/>
@@ -39,6 +41,7 @@
<glade-widget-group name="evolution-widgets" title="Evolution">
<glade-widget-class-ref name="EDateEdit"/>
<glade-widget-class-ref name="EImageChooser"/>
+ <glade-widget-class-ref name="EMailJunkOptions"/>
<glade-widget-class-ref name="EMFolderSelectionButton"/>
<glade-widget-class-ref name="EPortEntry"/>
<glade-widget-class-ref name="ESourceComboBox"/>