ui: fix icon display for GTK frontend under GNOME Shell with Wayland
commit67ea95468230fd1619235bf54b63c384cb3a9c51
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Jan 2019 12:00:46 +0000 (10 12:00 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 21 Jan 2019 08:43:13 +0000 (21 09:43 +0100)
treef4637dd09a9d947118dd0d3e1b8cf6d9124ef166
parenta8260d3876389eb52ca5c62ed4d80cdb7e025c85
ui: fix icon display for GTK frontend under GNOME Shell with Wayland

The icon associated with a GtkWindow is just a hint to window managers
and not all of them will honour it. Some will instead want to show the
icon listed by the .desktop file. The desktop file is located based on
the application ID, which is set using g_set_prgname. QEMU has not
historically provided a desktop file or set its app ID, so it got a
broken icon in GNOME shell, which is now fixed.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20190110120047.25369-3-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Makefile
configure
ui/gtk.c
ui/qemu.desktop [new file with mode: 0644]