linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add icons for video devices
@ 2010-01-26 16:13 Bastien Nocera
  2010-01-27  7:34 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Bastien Nocera @ 2010-01-26 16:13 UTC (permalink / raw)
  To: BlueZ development

[-- Attachment #1: Type: text/plain, Size: 15 bytes --]

Looks nicer :)

[-- Attachment #2: 0001-Add-icons-for-video-type-devices.patch --]
[-- Type: text/x-patch, Size: 751 bytes --]

>From ebe19c2ae65eea9dc46f1c62dc1e2483390e7e9d Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
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(-)

diff --git a/src/dbus-hci.c b/src/dbus-hci.c
index 4b58a81..a943b9b 100644
--- a/src/dbus-hci.c
+++ b/src/dbus-hci.c
@@ -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 */
 		}
-- 
1.6.6


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add icons for video devices
  2010-01-26 16:13 [PATCH] Add icons for video devices Bastien Nocera
@ 2010-01-27  7:34 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2010-01-27  7:34 UTC (permalink / raw)
  To: Bastien Nocera; +Cc: BlueZ development

Hi Bastien,

On Tue, Jan 26, 2010, Bastien Nocera wrote:
> Looks nicer :)

> From ebe19c2ae65eea9dc46f1c62dc1e2483390e7e9d Mon Sep 17 00:00:00 2001
> From: Bastien Nocera <hadess@hadess.net>
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-27  7:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-26 16:13 [PATCH] Add icons for video devices Bastien Nocera
2010-01-27  7:34 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).