[epiphany] Try more shortcut icon names
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Try more shortcut icon names
- Date: Thu, 28 Feb 2013 17:41:44 +0000 (UTC)
commit 55bf511b92858a82d1ae8d1b32d38efdb80f463f
Author: William Jon McCann <william jon mccann gmail com>
Date: Mon Feb 25 15:21:49 2013 -0500
Try more shortcut icon names
https://bugzilla.gnome.org/show_bug.cgi?id=694704
lib/ephy-web-app-utils.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/ephy-web-app-utils.c b/lib/ephy-web-app-utils.c
index 8087c42..e12649a 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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]