From f7da9c17c114417911ac2008d0401084a5030391 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Fri, 7 Jun 2013 13:24:17 -0500 Subject: [PATCH] gtk: use better icon The current icon looks pretty terrible rendered in Gnome. This switches to a transparent SVG which looks much nicer. Signed-off-by: Anthony Liguori --- Makefile | 2 +- pc-bios/qemu_logo_no_text.svg | 976 ++++++++++++++++++++++++++++++++++ ui/gtk.c | 2 +- 3 files changed, 978 insertions(+), 2 deletions(-) create mode 100644 pc-bios/qemu_logo_no_text.svg diff --git a/Makefile b/Makefile index 9a77ae0e18..306e7bd4b5 100644 --- a/Makefile +++ b/Makefile @@ -289,7 +289,7 @@ pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom \ pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom \ efi-e1000.rom efi-eepro100.rom efi-ne2k_pci.rom \ efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom \ -qemu-icon.bmp \ +qemu-icon.bmp qemu_logo_no_text.svg \ bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb \ multiboot.bin linuxboot.bin kvmvapic.bin \ s390-zipl.rom \ diff --git a/pc-bios/qemu_logo_no_text.svg b/pc-bios/qemu_logo_no_text.svg new file mode 100644 index 0000000000..24ca23a1e9 --- /dev/null +++ b/pc-bios/qemu_logo_no_text.svg @@ -0,0 +1,976 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/ui/gtk.c b/ui/gtk.c index 3bc284227e..efd7836b29 100644 --- a/ui/gtk.c +++ b/ui/gtk.c @@ -1469,7 +1469,7 @@ void gtk_display_init(DisplayState *ds) gtk_notebook_append_page(GTK_NOTEBOOK(s->notebook), s->drawing_area, gtk_label_new("VGA")); - filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, "qemu-icon.bmp"); + filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, "qemu_logo_no_text.svg"); if (filename) { GError *error = NULL; GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file(filename, &error);