From 395a311fe36286101e2d82c13d2ad1227df3e8bb Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 12 Sep 2000 14:30:49 +0000 Subject: Cool Hack of the Day: right-click menu item to autodetect what mailing list a message comes from and create the rule for it on the fly. (Many thanks to Joakim for suggesting the way to implement this.) Also, use the new shiny toolbar icons from TigerT and mark some strings for translation. svn path=/trunk/; revision=5362 --- mail/mail-mlist-magic.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 mail/mail-mlist-magic.h (limited to 'mail/mail-mlist-magic.h') diff --git a/mail/mail-mlist-magic.h b/mail/mail-mlist-magic.h new file mode 100644 index 0000000000..dcfe3f4bfc --- /dev/null +++ b/mail/mail-mlist-magic.h @@ -0,0 +1,33 @@ +/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ +/* mail-mlist-magic.h + * + * Copyright (C) 2000 Helix Code, Inc. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + * Author: Ettore Perazzoli + */ + +#ifndef MAIL_MLIST_MAGIC_H +#define MAIL_MLIST_MAGIC_H + +#include "camel.h" + +char *mail_mlist_magic_detect_list (CamelMimeMessage *message, + const char **header_name_return, + char **header_value_return); + +#endif -- cgit