mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

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

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