mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

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

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