talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 5226e3dc381d83a32a81b7e84e17d8ead334c855
parent a9a16a253ed3865a51db5e306539d3494087dafd
Author: Paul <paul@claws-mail.org>
Date:   Thu, 25 May 2023 18:08:13 +0100

recognise font/* and chemical/* mime types

Diffstat:
Msrc/procmime.c | 4+++-
Msrc/procmime.h | 4+++-
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/procmime.c b/src/procmime.c @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2021 the Claws Mail team and Hiroyuki Yamamoto + * Copyright (C) 1999-2023 the Claws Mail team and Hiroyuki Yamamoto * * 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 @@ -1403,7 +1403,9 @@ static struct TypeTable mime_type_table[] = { {"image", MIMETYPE_IMAGE}, {"audio", MIMETYPE_AUDIO}, {"video", MIMETYPE_VIDEO}, + {"font", MIMETYPE_FONT}, {"model", MIMETYPE_MODEL}, + {"chemical", MIMETYPE_CHEMICAL}, {"application", MIMETYPE_APPLICATION}, {"message", MIMETYPE_MESSAGE}, {"multipart", MIMETYPE_MULTIPART}, diff --git a/src/procmime.h b/src/procmime.h @@ -1,6 +1,6 @@ /* * Claws Mail -- a GTK based, lightweight, and fast e-mail client - * Copyright (C) 1999-2021 the Claws Mail team and Hiroyuki Yamamoto + * Copyright (C) 1999-2023 the Claws Mail team and Hiroyuki Yamamoto * * 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 @@ -50,7 +50,9 @@ typedef enum MIMETYPE_APPLICATION, MIMETYPE_MESSAGE, MIMETYPE_MULTIPART, + MIMETYPE_FONT, MIMETYPE_MODEL, + MIMETYPE_CHEMICAL, MIMETYPE_UNKNOWN } MimeMediaType;