aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2013-02-26 04:21:49 +0800
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2013-03-01 01:41:27 +0800
commit55bf511b92858a82d1ae8d1b32d38efdb80f463f (patch)
treef385a0f5b8d8f6a4b415c6f65ab1e6cb3192655a
parent65ecb1073482e223e3126c8e4330b98b05ee73d3 (diff)
downloadgsoc2013-epiphany-55bf511b92858a82d1ae8d1b32d38efdb80f463f.tar
gsoc2013-epiphany-55bf511b92858a82d1ae8d1b32d38efdb80f463f.tar.gz
gsoc2013-epiphany-55bf511b92858a82d1ae8d1b32d38efdb80f463f.tar.bz2
gsoc2013-epiphany-55bf511b92858a82d1ae8d1b32d38efdb80f463f.tar.lz
gsoc2013-epiphany-55bf511b92858a82d1ae8d1b32d38efdb80f463f.tar.xz
gsoc2013-epiphany-55bf511b92858a82d1ae8d1b32d38efdb80f463f.tar.zst
gsoc2013-epiphany-55bf511b92858a82d1ae8d1b32d38efdb80f463f.zip
Try more shortcut icon names
https://bugzilla.gnome.org/show_bug.cgi?id=694704
-rw-r--r--lib/ephy-web-app-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c
index 8087c426b..e12649aa8 100644
--- a/lib/ephy-web-app-utils.c
+++ b/lib/ephy-web-app-utils.c
@@ -209,6 +209,8 @@ get_icon_from_favicon (WebKitWebView *view,
rel = webkit_dom_html_link_element_get_rel (WEBKIT_DOM_HTML_LINK_ELEMENT (node));
if (g_strcmp0 (rel, "shortcut-icon") == 0 ||
g_strcmp0 (rel, "shortcut icon") == 0 ||
+ g_strcmp0 (rel, "SHORTCUT ICON") == 0 ||
+ g_strcmp0 (rel, "Shortcut Icon") == 0 ||
g_strcmp0 (rel, "icon shortcut") == 0 ||
g_strcmp0 (rel, "icon") == 0) {
image = webkit_dom_html_link_element_get_href (WEBKIT_DOM_HTML_LINK_ELEMENT (node));