summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan-Michael Brummer <jan.brummer@tabos.org>2020-09-25 19:52:02 +0200
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-09-25 19:39:06 +0000
commit9079f71cc9643cb9d08fbbea207b937e6c919e4e (patch)
treeebf4132d8138fb6e694fbd275120a93cd194db2f
parent19bef4c258218ab085599934db94808b6b65ca05 (diff)
downloadepiphany-9079f71cc9643cb9d08fbbea207b937e6c919e4e.tar.gz
ephy-tab-label: Show placeholder icon for pinned page without favicon
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1351
-rw-r--r--src/ephy-tab-label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-tab-label.c b/src/ephy-tab-label.c
index 3fc485abd..40414de92 100644
--- a/src/ephy-tab-label.c
+++ b/src/ephy-tab-label.c
@@ -82,7 +82,7 @@ static void
ephy_tab_label_update_icon (EphyTabLabel *self)
{
if (!self->has_icon) {
- const char *favicon_name = ephy_get_fallback_favicon_name (self->uri, EPHY_FAVICON_TYPE_NO_MISSING_PLACEHOLDER);
+ const char *favicon_name = self->is_pinned ? "ephy-missing-favicon-symbolic" : ephy_get_fallback_favicon_name (self->uri, EPHY_FAVICON_TYPE_NO_MISSING_PLACEHOLDER);
gtk_image_set_from_icon_name (GTK_IMAGE (self->icon), favicon_name, GTK_ICON_SIZE_MENU);
}