summaryrefslogtreecommitdiff
path: root/src/dbus-common.c
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas@t-8ch.de>2021-10-03 12:18:34 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-10-11 13:20:09 -0700
commit9cf8365baa4219d3245e8e8091fd598a8d45299f (patch)
treef91fde697a8af72afa8f7f4d52ed3e533e161772 /src/dbus-common.c
parentc815b6ba30679b65e7de0f6f4b826279e80d28f5 (diff)
downloadbluez-9cf8365baa4219d3245e8e8091fd598a8d45299f.tar.gz
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
Diffstat (limited to 'src/dbus-common.c')
-rw-r--r--src/dbus-common.c4
1 files 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 */