Use a better icon for RHEL guests, still provided by redhat-logos (or equivalent in downstream distributions), and which fits a better definition of logo for the distribution. Thanks to Ray Strode for the hints. --- lib/inspect-icon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/inspect-icon.c b/lib/inspect-icon.c index e785a2172..5c7da0476 100644 --- a/lib/inspect-icon.c +++ b/lib/inspect-icon.c @@ -321,7 +321,7 @@ icon_rhel (guestfs_h *g, int major, size_t *size_r) if (major < 7) shadowman = "/usr/share/pixmaps/redhat/shadowman-transparent.png"; else - shadowman = "/usr/share/pixmaps/fedora-logo-sprite.png"; + shadowman = "/usr/share/icons/hicolor/96x96/apps/system-logo-icon.png"; return get_png (g, shadowman, size_r, 102400); } -- 2.20.1
Richard W.M. Jones
2019-Mar-25 15:03 UTC
Re: [Libguestfs] [PATCH] inspect: fix icon of RHEL
On Mon, Feb 11, 2019 at 07:33:29PM +0100, Pino Toscano wrote:> Use a better icon for RHEL guests, still provided by redhat-logos (or > equivalent in downstream distributions), and which fits a better > definition of logo for the distribution. > > Thanks to Ray Strode for the hints. > --- > lib/inspect-icon.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/inspect-icon.c b/lib/inspect-icon.c > index e785a2172..5c7da0476 100644 > --- a/lib/inspect-icon.c > +++ b/lib/inspect-icon.c > @@ -321,7 +321,7 @@ icon_rhel (guestfs_h *g, int major, size_t *size_r) > if (major < 7) > shadowman = "/usr/share/pixmaps/redhat/shadowman-transparent.png"; > else > - shadowman = "/usr/share/pixmaps/fedora-logo-sprite.png"; > + shadowman = "/usr/share/icons/hicolor/96x96/apps/system-logo-icon.png";Obvious change, so ACK Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
Maybe Matching Threads
- [PATCH] inspection: lift size limit for RHEL icons
- [PATCH] inspect: get icon of Gentoo guests
- [PATCH] inspect: get icon of OpenMandriva guests
- [PATCH 3/3] inspect: revamp icon extraction for *SUSE guests
- [PATCH] inspect: get a better icon for ALT Linux guests (RHBZ#1433937)