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

View file

@ -939,7 +939,8 @@ midori_web_view_get_icon (MidoriWebView* web_view)
{ {
content_type = g_file_info_get_content_type (info); content_type = g_file_info_get_content_type (info);
icon = (!strcmp (content_type, "image/x-icon") 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; ? g_file_icon_new (icon_file) : NULL;
} }