Skip to contentSkip to conversation

Add icons for video devices

PATCH In review Bastien Nocera 2 participants 2 messages Jan 26, 2010 – Jan 27, 2010 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add icons for video devices

Looks nicer :)

Quoted 1 line

From ebe19c2ae65eea9dc46f1c62dc1e2483390e7e9d Mon Sep 17 00:00:00 2001

From: Bastien Nocera <[email protected]>
Date: Tue, 26 Jan 2010 15:41:04 +0000
Subject: [PATCH] Add icons for video-type devices

---
 src/dbus-hci.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
src/dbus-hci.c +4 -0
index 4b58a81..a943b9b 100644
@@ -114,6 +114,10 @@ const char *class_to_icon(uint32_t class)
 			return "audio-card";	/* Headset */
 		case 0x06:
 			return "audio-card";	/* Headphone */
+		case 0x0b: /* VCR */
+		case 0x0c: /* Video Camera */
+		case 0x0d: /* Camcorder */
+			return "camera-video";
 		default:
 			return "audio-card";	/* Other audio device */
 		}
Signature · 1 line
1.6.6
#1 lore raw

Hi Bastien,

Quoted 10 lines · Bastien Nocera

Looks nicer :)

From ebe19c2ae65eea9dc46f1c62dc1e2483390e7e9d Mon Sep 17 00:00:00 2001
From: Bastien Nocera <[email protected]>
Date: Tue, 26 Jan 2010 15:41:04 +0000
Subject: [PATCH] Add icons for video-type devices

---
 src/dbus-hci.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

The patch has been pushed upstream. Thanks.

Johan