[epiphany/wip/exalm/tabs: 28/37] fixup! tmp
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/exalm/tabs: 28/37] fixup! tmp
- Date: Sun, 13 Sep 2020 00:04:33 +0000 (UTC)
commit 8ed9da46b390d19b02eefb5c823eb2318c759b45
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Sep 7 21:29:29 2020 +0500
fixup! tmp
src/ephy-desktop-utils.c | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/src/ephy-desktop-utils.c b/src/ephy-desktop-utils.c
index 9af222449..67c6d59f6 100644
--- a/src/ephy-desktop-utils.c
+++ b/src/ephy-desktop-utils.c
@@ -59,11 +59,12 @@ const char *
ephy_get_fallback_favicon_name (const char *uri,
EphyFaviconType type)
{
- if (!uri)
- return NULL;
+ if (uri) {
+ if (g_str_has_prefix (uri, "ephy-about:overview") || g_str_has_prefix (uri, "about:overview"))
+ return EPHY_FAVICON_TYPE_SHOW_MISSING_PLACEHOLDER ? "view-grid-symbolic" : NULL;
+ else if (g_str_has_prefix (uri, "ephy-about:") || g_str_has_prefix (uri, "about:"))
+ return "web-browser-symbolic";
+ }
- if (g_str_has_prefix (uri, "ephy-about:overview") || g_str_has_prefix (uri, "about:overview"))
- return EPHY_FAVICON_TYPE_SHOW_MISSING_PLACEHOLDER ? "view-grid-symbolic" : NULL;
- else if (g_str_has_prefix (uri, "ephy-about:") || g_str_has_prefix (uri, "about:"))
- return "web-browser-symbolic";
+ return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]