aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-vfolder.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-08-06 10:45:07 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-08-06 10:45:07 +0800
commitabafd9de4f2e7f63ec522aae1009a671cb19425c (patch)
treec1e2bed3b503d952f824d6db055e0af2a61fb162 /mail/mail-vfolder.c
parent4e8deb5e4cb135b2e4f6eed3e1ab8b51fa4228fd (diff)
downloadgsoc2013-evolution-abafd9de4f2e7f63ec522aae1009a671cb19425c.tar.gz
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-vfolder.c')
-rw-r--r--mail/mail-vfolder.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index 2b2e05ae89..7a8ac3011d 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -954,18 +954,6 @@ vfolder_gui_add_from_message(CamelMimeMessage *msg, int flags, const char *sourc
vfolder_gui_add_rule(rule);
}
-void
-vfolder_gui_add_from_mlist(const char *mlist, const char *source)
-{
- VfolderRule *rule;
-
- g_return_if_fail (mlist != NULL);
- g_return_if_fail (source != NULL);
-
- rule = (VfolderRule*)vfolder_rule_from_mlist(context, mlist, source);
- vfolder_gui_add_rule(rule);
-}
-
static void
vfolder_foreach_cb (gpointer key, gpointer data, gpointer user_data)
{