From 6bd58efb743105420115b52779fe7ab5a59f28d9 Mon Sep 17 00:00:00 2001 From: Tommi Komulainen Date: Sat, 15 Apr 2006 13:19:21 +0000 Subject: #337140: Replace fallback favicon with more semantically correct 'text-html' 2006-04-15 Tommi Komulainen * 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 --- lib/widgets/ephy-location-entry.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/widgets/ephy-location-entry.c') 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); } } -- cgit v1.2.3