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

Pino Toscano ptoscano at redhat.com
Mon Mar 20 12:51:01 UTC 2017


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




More information about the Libguestfs mailing list