[gnome-color-manager] Set 'ICC meta Tag for Monitor Profiles' data for future use
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Set 'ICC meta Tag for Monitor Profiles' data for future use
- Date: Wed, 1 Dec 2010 14:44:12 +0000 (UTC)
commit e18c7812a42a10ffbc0cf28d1c7f43e1bfd0981a
Author: Richard Hughes <richard hughsie com>
Date: Wed Dec 1 10:27:05 2010 +0000
Set 'ICC meta Tag for Monitor Profiles' data for future use
src/gcm-device-xrandr.c | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-device-xrandr.c b/src/gcm-device-xrandr.c
index 1707073..07f3539 100644
--- a/src/gcm-device-xrandr.c
+++ b/src/gcm-device-xrandr.c
@@ -435,6 +435,23 @@ gcm_device_xrandr_generate_profile (GcmDevice *device, GError **error)
profile = NULL;
goto out;
}
+
+ /* set 'ICC meta Tag for Monitor Profiles' data */
+ gcm_profile_set_data (profile,
+ "EDID_md5",
+ gcm_edid_get_checksum (priv->edid));
+ gcm_profile_set_data (profile,
+ "EDID_model",
+ gcm_edid_get_monitor_name (priv->edid));
+ gcm_profile_set_data (profile,
+ "EDID_serial",
+ gcm_edid_get_serial_number (priv->edid));
+ gcm_profile_set_data (profile,
+ "EDID_mnft",
+ gcm_edid_get_pnp_id (priv->edid));
+ gcm_profile_set_data (profile,
+ "EDID_manufacturer",
+ gcm_edid_get_vendor_name (priv->edid));
out:
g_free (title);
return profile;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]