diff options
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r-- | mail/mail-vfolder.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index 6426979f36..cb5be64207 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -344,6 +344,17 @@ vfolder_gui_add_from_message(CamelMimeMessage *msg, int flags, const char *sourc vfolder_gui_add_rule(rule); } +void +vfolder_gui_add_from_mlist(CamelMimeMessage *msg, const char *mlist, const char *source) +{ + VfolderRule *rule; + + g_return_if_fail (msg != NULL); + + rule = (VfolderRule*)vfolder_rule_from_mlist(context, mlist, source); + vfolder_gui_add_rule(rule); +} + EvolutionStorage * mail_vfolder_get_vfolder_storage (void) { |