aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-favicon-cache.c
diff options
context:
space:
mode:
authorPeter Bui <pnutzh4x0r@gmail.com>2009-07-21 21:25:14 +0800
committerXan Lopez <xan@gnome.org>2009-07-21 21:25:14 +0800
commitf016ecc3cba44113df9641d6a3dceab9a14751ec (patch)
tree7707c6e9578c2aba00c0ec9f008bb9d69fb1bca2 /embed/ephy-favicon-cache.c
parent28adb2eea6aafcee7e092f6ee963e51b1cf7d1a9 (diff)
downloadgsoc2013-epiphany-f016ecc3cba44113df9641d6a3dceab9a14751ec.tar
gsoc2013-epiphany-f016ecc3cba44113df9641d6a3dceab9a14751ec.tar.gz
gsoc2013-epiphany-f016ecc3cba44113df9641d6a3dceab9a14751ec.tar.bz2
gsoc2013-epiphany-f016ecc3cba44113df9641d6a3dceab9a14751ec.tar.lz
gsoc2013-epiphany-f016ecc3cba44113df9641d6a3dceab9a14751ec.tar.xz
gsoc2013-epiphany-f016ecc3cba44113df9641d6a3dceab9a14751ec.tar.zst
gsoc2013-epiphany-f016ecc3cba44113df9641d6a3dceab9a14751ec.zip
ephy-favicon-cache.c: recognize icons with mime type image/vnd.microsoft.icon
Bug #578575 Signed-off-by: Xan Lopez <xan@gnome.org>
Diffstat (limited to 'embed/ephy-favicon-cache.c')
-rw-r--r--embed/ephy-favicon-cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c
index bed95ed09..f70a7d386 100644
--- a/embed/ephy-favicon-cache.c
+++ b/embed/ephy-favicon-cache.c
@@ -696,6 +696,7 @@ ephy_favicon_cache_get (EphyFaviconCache *cache,
return NULL;
}
valid = strcmp (mime_type, "image/x-ico") == 0 ||
+ strcmp (mime_type, "image/vnd.microsoft.icon") == 0 ||
strcmp (mime_type, "image/png") == 0 ||
strcmp (mime_type, "image/gif") == 0;
is_ao = strcmp (mime_type, "application/octet-stream") == 0;