From 67ea95468230fd1619235bf54b63c384cb3a9c51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Thu, 10 Jan 2019 12:00:46 +0000 Subject: ui: fix icon display for GTK frontend under GNOME Shell with Wayland MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é Message-id: 20190110120047.25369-3-berrange@redhat.com Signed-off-by: Gerd Hoffmann --- ui/qemu.desktop | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ui/qemu.desktop (limited to 'ui/qemu.desktop') diff --git a/ui/qemu.desktop b/ui/qemu.desktop new file mode 100644 index 0000000..20f09f5 --- /dev/null +++ b/ui/qemu.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Name=QEMU +Icon=qemu +Type=Application +Terminal=false +Keywords=Emulators;Virtualization;KVM; +NoDisplay=true -- cgit v1.1