From 49bad5e10fbf9a6f084d53ff1076df4f10aff049 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 24 Jul 2001 20:12:47 +0000 Subject: Do a case-insensitive comparison. (mail_generate_reply): Only resort to 2001-07-24 Jeffrey Stedfast * mail-callbacks.c (guess_me): Do a case-insensitive comparison. (mail_generate_reply): Only resort to the source account's identity if we can't find out which identity to use based on the recipients of the message first. * mail-config.c (mail_config_get_default_account): Make sure to return the 0th account if we don't have a default. We don't want to return NULL. * mail-callbacks.c (empty_trash): Use mail_tool_get_trash for the remote store trash folders. * mail-tools.c (mail_tool_get_trash): New convenience function. svn path=/trunk/; revision=11353 --- mail/mail-tools.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/mail-tools.h') diff --git a/mail/mail-tools.h b/mail/mail-tools.h index 4e29edbefe..57802e0be9 100644 --- a/mail/mail-tools.h +++ b/mail/mail-tools.h @@ -45,6 +45,9 @@ CamelFolder *mail_tool_get_local_inbox (CamelException *ex); /* Get the "inbox" for a url (uses global session) */ CamelFolder *mail_tool_get_inbox (const gchar *url, CamelException *ex); +/* Get the "trash" for a url (uses global session) */ +CamelFolder *mail_tool_get_trash (const gchar *url, CamelException *ex); + /* Does a camel_movemail into the local movemail folder * and returns the path to the new movemail folder that was created. which shoudl be freed later */ char * -- cgit v1.2.3