[gnome-color-manager] trivial: an 'Integrated Camera' is really just a webcam....



commit e50fd71eeeeb235b40829e4eb659b0bf3d251745
Author: Richard Hughes <richard hughsie com>
Date:   Tue Mar 29 14:23:47 2011 +0100

    trivial: an 'Integrated Camera' is really just a webcam....

 src/gcm-prefs.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-prefs.c b/src/gcm-prefs.c
index 8eec243..f87a99a 100644
--- a/src/gcm-prefs.c
+++ b/src/gcm-prefs.c
@@ -1590,6 +1590,10 @@ gcm_device_get_title (CdDevice *device)
 	if (g_str_has_prefix (vendor->str, "LENOVO"))
 		g_string_assign (vendor, "Lenovo");
 
+	/* correct some models */
+	if (g_strcmp0 (model->str, "Integrated Camera") == 0)
+		g_string_assign (model, "Webcam");
+
 	if (vendor != NULL && vendor->len > 0 &&
 	    model != NULL && model->len > 0) {
 		g_string_append_printf (string, "%s - %s",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]