mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0001-inspect-fix-icon-of-RHEL.patch

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