Blame SOURCES/0004-inspect-fix-icon-of-RHEL.patch
|
|
46b2f6 |
From e7ff090884f5e32585e9683d35b72bca01e0a836 Mon Sep 17 00:00:00 2001
|
|
|
46b2f6 |
From: Pino Toscano <ptoscano@redhat.com>
|
|
|
46b2f6 |
Date: Mon, 11 Feb 2019 19:28:00 +0100
|
|
|
46b2f6 |
Subject: [PATCH] inspect: fix icon of RHEL
|
|
|
46b2f6 |
|
|
|
46b2f6 |
Use a better icon for RHEL guests, still provided by redhat-logos (or
|
|
|
46b2f6 |
equivalent in downstream distributions), and which fits a better
|
|
|
46b2f6 |
definition of logo for the distribution.
|
|
|
46b2f6 |
|
|
|
46b2f6 |
Thanks to Ray Strode for the hints.
|
|
|
46b2f6 |
|
|
|
46b2f6 |
(cherry picked from commit c648052690a4a07a59c741308e0e8497d6f18057)
|
|
|
46b2f6 |
---
|
|
|
46b2f6 |
lib/inspect-icon.c | 2 +-
|
|
|
46b2f6 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
46b2f6 |
|
|
|
46b2f6 |
diff --git a/lib/inspect-icon.c b/lib/inspect-icon.c
|
|
|
46b2f6 |
index 623591aa6..19f3f87af 100644
|
|
|
46b2f6 |
--- a/lib/inspect-icon.c
|
|
|
46b2f6 |
+++ b/lib/inspect-icon.c
|
|
|
46b2f6 |
@@ -317,7 +317,7 @@ icon_rhel (guestfs_h *g, int major, size_t *size_r)
|
|
|
46b2f6 |
if (major < 7)
|
|
|
46b2f6 |
shadowman = "/usr/share/pixmaps/redhat/shadowman-transparent.png";
|
|
|
46b2f6 |
else
|
|
|
46b2f6 |
- shadowman = "/usr/share/pixmaps/fedora-logo-sprite.png";
|
|
|
46b2f6 |
+ shadowman = "/usr/share/icons/hicolor/96x96/apps/system-logo-icon.png";
|
|
|
46b2f6 |
|
|
|
46b2f6 |
return get_png (g, shadowman, size_r, 102400);
|
|
|
46b2f6 |
}
|
|
|
46b2f6 |
--
|
|
|
b155d0 |
2.26.2
|
|
|
46b2f6 |
|