[epiphany] ephy-tab-label: Show placeholder icon for pinned page without favicon
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-tab-label: Show placeholder icon for pinned page without favicon
- Date: Fri, 25 Sep 2020 19:46:28 +0000 (UTC)
commit 9079f71cc9643cb9d08fbbea207b937e6c919e4e
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Fri Sep 25 19:52:02 2020 +0200
ephy-tab-label: Show placeholder icon for pinned page without favicon
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1351
src/ephy-tab-label.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]