diff options
author | Not Zed <NotZed@Ximian.com> | 2002-08-06 10:45:07 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-08-06 10:45:07 +0800 |
commit | abafd9de4f2e7f63ec522aae1009a671cb19425c (patch) | |
tree | c1e2bed3b503d952f824d6db055e0af2a61fb162 /mail/mail-autofilter.h | |
parent | 4e8deb5e4cb135b2e4f6eed3e1ab8b51fa4228fd (diff) | |
download | gsoc2013-evolution-abafd9de4f2e7f63ec522aae1009a671cb19425c.tar gsoc2013-evolution-abafd9de4f2e7f63ec522aae1009a671cb19425c.tar.gz gsoc2013-evolution-abafd9de4f2e7f63ec522aae1009a671cb19425c.tar.bz2 gsoc2013-evolution-abafd9de4f2e7f63ec522aae1009a671cb19425c.tar.lz gsoc2013-evolution-abafd9de4f2e7f63ec522aae1009a671cb19425c.tar.xz gsoc2013-evolution-abafd9de4f2e7f63ec522aae1009a671cb19425c.tar.zst gsoc2013-evolution-abafd9de4f2e7f63ec522aae1009a671cb19425c.zip |
Unref the driver before returning to main thread, so any closing
2002-08-06 Not Zed <NotZed@Ximian.com>
* mail-ops.c (filter_folder_filter): Unref the driver before
returning to main thread, so any closing operations are handled
async (as in fetch_mail_fetch()), for #28072.
** fixes for #24605.
* mail-vfolder.c (vfolder_gui_add_from_mlist): Removed.
* folder-browser.c (filter_type_uid,vfolder_type_uid): Changed to
accept args directly. Fixed callers.
(filter_mlist_uid,vfolder_mlist_uid): Use filter_type_uid instead
of mlist variant.
(vfolder_type_current): new function to handle setup of vfolders
from the main menu. It now uses the vfolder_type_uid function the
same as the popup.
(vfolder_subject, vfolder_sender, vfolder_recipient,
vfolder_mlist): Changed to use vfolder_type_current.
(filter_type_current): Similar for filters.
(filter_subject, filter_sender, filter_recipient,
filter_mlist): Changed to use filter_type_current.
* mail-autofilter.c (rule_from_message): Handle AUTO_MLIST type.
(rule_from_mlist):
(vfolder_rule_from_mlist):
(filter_rule_from_mlist): Removed.
(filter_gui_add_from_mlist): Removed.
* mail-autofilter.h: Added AUTO_MLIST type.
svn path=/trunk/; revision=17704
Diffstat (limited to 'mail/mail-autofilter.h')
-rw-r--r-- | mail/mail-autofilter.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/mail-autofilter.h b/mail/mail-autofilter.h index ca7935411d..45f9d15863 100644 --- a/mail/mail-autofilter.h +++ b/mail/mail-autofilter.h @@ -33,18 +33,15 @@ enum { AUTO_SUBJECT = 1, AUTO_FROM = 2, - AUTO_TO = 4 + AUTO_TO = 4, + AUTO_MLIST = 8, }; FilterRule *vfolder_rule_from_message(VfolderContext *context, CamelMimeMessage *msg, int flags, const char *source); FilterRule *filter_rule_from_message(FilterContext *context, CamelMimeMessage *msg, int flags); -FilterRule *vfolder_rule_from_mlist(VfolderContext *context, const char *mlist, const char *source); -FilterRule *filter_rule_from_mlist(FilterContext *context, const char *mlist); /* easiest place to put this */ - void filter_gui_add_from_message (CamelMimeMessage *msg, const char *source, int flags); -void filter_gui_add_from_mlist (const char *source, const char *mlist); /* Also easiest place for these, we should really share a global rule context for this stuff ... */ void mail_filter_rename_uri(CamelStore *store, const char *olduri, const char *newuri); |