[Libguestfs] [PATCH] inspect: get a better icon for ALT Linux guests (RHBZ#1433937)

Richard W.M. Jones rjones at redhat.com
Mon Mar 20 13:16:41 UTC 2017


On Mon, Mar 20, 2017 at 01:51:01PM +0100, Pino Toscano wrote:
> Use a 64px icon which is in the menu-icons-default package, hopefully
> part of the default installation of any flavour.
> 
> Updates commit 9928296c1ca8df5bd8f108ed00039adc6468cac3.
> 
> Thanks to: Xiang Hua Chen.
> ---
>  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 84d4e4a..695f038 100644
> --- a/lib/inspect-icon.c
> +++ b/lib/inspect-icon.c
> @@ -455,7 +455,7 @@ icon_voidlinux (guestfs_h *g, struct inspect_fs *fs, size_t *size_r)
>    return get_png (g, fs, VOIDLINUX_ICON, size_r, 20480);
>  }
>  
> -#define ALTLINUX_ICON "/usr/share/doc/alt-docs/altlogo.png"
> +#define ALTLINUX_ICON "/usr/share/icons/hicolor/64x64/apps/altlinux.png"
>  
>  static char *
>  icon_altlinux (guestfs_h *g, struct inspect_fs *fs, size_t *size_r)
> -- 
> 2.9.3

ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list