aboutsummaryrefslogtreecommitdiff
path: root/libsylph/procmime.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-24 10:16:00 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-01-24 10:16:00 +0000
commit81c11f2fe4a0b07795ec09d8585ca3840362ae5f (patch)
tree37daa79753d5d94a3f71822ffa6a3741d1a1b6ca /libsylph/procmime.c
parentad3984cf17c8114eb7215d91421a3cd8a99e1563 (diff)
force attaching of specific types on forwarding even if filename is unspecified.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@924 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/procmime.c')
-rw-r--r--libsylph/procmime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsylph/procmime.c b/libsylph/procmime.c
index 13df59bd..5b6ed438 100644
--- a/libsylph/procmime.c
+++ b/libsylph/procmime.c
@@ -1033,6 +1033,8 @@ ContentType procmime_scan_mime_type(const gchar *mime_type)
type = MIME_IMAGE;
else if (!g_ascii_strncasecmp(mime_type, "audio/", 6))
type = MIME_AUDIO;
+ else if (!g_ascii_strncasecmp(mime_type, "video/", 6))
+ type = MIME_VIDEO;
else if (!g_ascii_strcasecmp(mime_type, "text"))
type = MIME_TEXT;
else