aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-25 04:12:47 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-25 04:12:47 +0800
commit49bad5e10fbf9a6f084d53ff1076df4f10aff049 (patch)
tree1b7d7ce712ac52086b96abcaa8d428cc038bd303 /mail/mail-tools.h
parent1ec137b9d68f02523919059d9bc4c22dea581c07 (diff)
downloadgsoc2013-evolution-49bad5e10fbf9a6f084d53ff1076df4f10aff049.tar.gz
gsoc2013-evolution-49bad5e10fbf9a6f084d53ff1076df4f10aff049.tar.zst
gsoc2013-evolution-49bad5e10fbf9a6f084d53ff1076df4f10aff049.zip
Do a case-insensitive comparison. (mail_generate_reply): Only resort to
2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'mail/mail-tools.h')
-rw-r--r--mail/mail-tools.h3
1 files changed, 3 insertions, 0 deletions
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 *
-8/+6 * math/p5-Math-Int128: add armv6 to NOT_FOR_ARCHSpi2014-11-011-1/+1 * Remove all the bootstrap files (.bs) from the plists.mat2014-06-101-1/+0 * Mass-update maintainer from fbsd-ports@opsec.eu -> pi@FreeBSD.orgpi2014-06-091-1/+1 * Update the default version of GCC used in the Ports Collection fromgerald2014-03-111-1/+1 * Update to libmpc version 1.0.1 which brings the following fixes:gerald2013-10-261-0/+1 * - Update to 0.13sunpoet2013-10-083-7/+5 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-1/+1 * our default gcc ports version 4.6, change USE_GCC to yes.az2013-08-281-2/+2 * - update to 0.12az2013-08-254-33/+18 * Replace USE_GCC=4.6+ and USE_GCC=4.4+ by USE_GCC=yes.gerald2013-08-181-1/+1 * - Convert to new perl frameworkaz2013-08-031-1/+2 * - USE_GCC set to 4.6+jadawin2013-01-031-1/+2 * - Fix typojadawin2012-12-211-2/+2