[gnome-color-manager] Include the serial number in the virtual device device ID



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]