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