From 9cf8365baa4219d3245e8e8091fd598a8d45299f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sun, 3 Oct 2021 12:18:34 +0200 Subject: [PATCH] Use accurate icons for headphones and headsets While these icon names are not part of the spec standard names [0] they are in practice implemented by at least Adwaita, Gnome, Oxygen, Arc and Breeze themes. [0] https://specifications.freedesktop.org/icon-naming-spec/latest/ar01s04.html --- src/dbus-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dbus-common.c b/src/dbus-common.c index 384f27700..5e2c83d52 100644 --- a/src/dbus-common.c +++ b/src/dbus-common.c @@ -72,9 +72,9 @@ const char *class_to_icon(uint32_t class) switch ((class & 0xfc) >> 2) { case 0x01: case 0x02: - return "audio-card"; /* Headset */ + return "audio-headset"; case 0x06: - return "audio-card"; /* Headphone */ + return "audio-headphones"; case 0x0b: /* VCR */ case 0x0c: /* Video Camera */ case 0x0d: /* Camcorder */ -- 2.47.3