aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTommi Komulainen <tommi.komulainen@iki.fi>2006-04-15 21:19:21 +0800
committerTommi Komulainen <tko@src.gnome.org>2006-04-15 21:19:21 +0800
commit6bd58efb743105420115b52779fe7ab5a59f28d9 (patch)
tree89c338970bfb7156e5b9a2fa9264f0f17b20af4d /lib
parent03126d5ec26efd3561252e33a0d4763d85b3ae1e (diff)
downloadgsoc2013-epiphany-6bd58efb743105420115b52779fe7ab5a59f28d9.tar
gsoc2013-epiphany-6bd58efb743105420115b52779fe7ab5a59f28d9.tar.gz
gsoc2013-epiphany-6bd58efb743105420115b52779fe7ab5a59f28d9.tar.bz2
gsoc2013-epiphany-6bd58efb743105420115b52779fe7ab5a59f28d9.tar.lz
gsoc2013-epiphany-6bd58efb743105420115b52779fe7ab5a59f28d9.tar.xz
gsoc2013-epiphany-6bd58efb743105420115b52779fe7ab5a59f28d9.tar.zst
gsoc2013-epiphany-6bd58efb743105420115b52779fe7ab5a59f28d9.zip
#337140: Replace fallback favicon with more semantically correct 'text-html'
2006-04-15 Tommi Komulainen <tommi.komulainen@iki.fi> * lib/widgets/ephy-location-entry.c (update_favicon): Replace 'stock-new' fallback favicon with more semantically correct 'text-html' It also looks better with Tango icon theme. Bug #337140
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-location-entry.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index ac21374ec..c964a46fe 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -337,9 +337,13 @@ update_favicon (EphyLocationEntry *entry)
}
else
{
- gtk_image_set_from_stock (image,
- GTK_STOCK_NEW,
- GTK_ICON_SIZE_MENU);
+ /* Here we could consider using fallback favicon that matches
+ * the page MIME type, though text/html should be good enough
+ * most of the time. See #337140
+ */
+ gtk_image_set_from_icon_name (image,
+ "text-html",
+ GTK_ICON_SIZE_MENU);
}
}