[gnome-color-manager] Add the optional FILE_checksum metadata to speed up session startup with colord >= 0.1.6



commit ba1f2915d0b038041e8f90cb0c0c5cd42a935ee6
Author: Richard Hughes <richard hughsie com>
Date:   Fri Apr 8 13:30:38 2011 +0100

    Add the optional FILE_checksum metadata to speed up session startup with colord >= 0.1.6

 src/gcm-session.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-session.c b/src/gcm-session.c
index 22fecd3..aaa8088 100644
--- a/src/gcm-session.c
+++ b/src/gcm-session.c
@@ -1283,6 +1283,9 @@ gcm_session_profile_store_added_cb (GcmProfileStore *profile_store_,
 	g_hash_table_insert (profile_props,
 			     g_strdup ("Filename"),
 			     g_strdup (filename));
+	g_hash_table_insert (profile_props,
+			     g_strdup ("FILE_checksum"),
+			     g_strdup (checksum));
 	profile = cd_client_create_profile_sync (priv->client,
 						 profile_id,
 						 CD_OBJECT_SCOPE_TEMP,



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