summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2011-06-13 15:36:57 +0100
committerRichard Hughes <richard@hughsie.com>2011-06-13 15:36:57 +0100
commit5316094adebf3645a19cd7c482599374fa340d0c (patch)
tree02b2fe0331007408e12bb16f51a11cb4354a8ac8
parentfa477a84ffb8aab88f79fb9a26e807ef4e093866 (diff)
downloadgnome-settings-daemon-5316094adebf3645a19cd7c482599374fa340d0c.tar.gz
color: Set the framework creator metadata on newly created profiles
-rw-r--r--plugins/color/gsd-color-manager.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/color/gsd-color-manager.c b/plugins/color/gsd-color-manager.c
index dd58d195..19795c39 100644
--- a/plugins/color/gsd-color-manager.c
+++ b/plugins/color/gsd-color-manager.c
@@ -626,6 +626,17 @@ gcm_apply_create_icc_profile_for_edid (GsdColorManager *manager,
/* just create a new dict */
dict = cmsDictAlloc (NULL);
+ /* set the framework creator metadata */
+ _cmsDictAddEntryAscii (dict,
+ CD_PROFILE_METADATA_CMF_PRODUCT,
+ PACKAGE_NAME);
+ _cmsDictAddEntryAscii (dict,
+ CD_PROFILE_METADATA_CMF_BINARY,
+ PACKAGE_NAME);
+ _cmsDictAddEntryAscii (dict,
+ CD_PROFILE_METADATA_CMF_VERSION,
+ PACKAGE_VERSION);
+
/* set the data source so we don't ever prompt the user to
* recalibrate (as the EDID data won't have changed) */
_cmsDictAddEntryAscii (dict,