[gnome-color-manager] Include the serial number in the virtual device device ID
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Include the serial number in the virtual device device ID
- Date: Fri, 21 May 2010 20:25:04 +0000 (UTC)
commit 1166c2d263f6523e8189afab7c2283182d1b336c
Author: Richard Hughes <richard hughsie com>
Date: Fri May 21 21:24:34 2010 +0100
Include the serial number in the virtual device device ID
src/gcm-device-virtual.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-device-virtual.c b/src/gcm-device-virtual.c
index c79e990..f37e06d 100644
--- a/src/gcm-device-virtual.c
+++ b/src/gcm-device-virtual.c
@@ -49,7 +49,7 @@ gcm_device_virtual_create_from_params (GcmDeviceVirtual *device_virtual,
/* make some stuff up */
title = g_strdup_printf ("%s - %s", manufacturer, model);
- id = g_strdup_printf ("%s_%s", manufacturer, model);
+ id = g_strdup_printf ("virtual_%s_%s_%s", manufacturer, model, serial);
gcm_utils_alphanum_lcase (id);
/* create the device */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]