Add image/vnd.microsoft.icon to favicon support

This commit is contained in:
Dale Whittaker 2008-07-17 12:34:34 +02:00 committed by Christian Dywan
parent 657cbbb60e
commit 272046d94a
1 changed files with 2 additions and 1 deletions

View File

@ -939,7 +939,8 @@ midori_web_view_get_icon (MidoriWebView* web_view)
{
content_type = g_file_info_get_content_type (info);
icon = (!strcmp (content_type, "image/x-icon")
|| !strcmp (content_type, "image/x-ico"))
|| !strcmp (content_type, "image/x-ico")
|| !strcmp (content_type, "image/vnd.microsoft.icon"))
? g_file_icon_new (icon_file) : NULL;
}