[gnome-color-manager] Support /usr/local/share/color/icc as well for a profile location



commit a43bb75fd06bd22da04831669cc0ca2cff311bb8
Author: Richard Hughes <richard hughsie com>
Date:   Wed Nov 4 10:26:39 2009 +0000

    Support /usr/local/share/color/icc as well for a profile location

 src/gcm-utils.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-utils.c b/src/gcm-utils.c
index c011a15..40e2ef5 100644
--- a/src/gcm-utils.c
+++ b/src/gcm-utils.c
@@ -320,7 +320,7 @@ gcm_utils_get_profile_filenames_for_directory (GPtrArray *array, const gchar *di
 	/* get contents */
 	dir = g_dir_open (directory, 0, &error);
 	if (dir == NULL) {
-		egg_warning ("failed to open: %s", error->message);
+		egg_debug ("failed to open: %s", error->message);
 		g_error_free (error);
 		ret = FALSE;
 		goto out;
@@ -361,6 +361,7 @@ gcm_utils_get_profile_filenames (void)
 
 	/* get systemwide profiles */
 	gcm_utils_get_profile_filenames_for_directory (array, "/usr/share/color/icc");
+	gcm_utils_get_profile_filenames_for_directory (array, "/usr/local/share/color/icc");
 
 	/* get gnome-color-manager test profiles */
 	gcm_utils_get_profile_filenames_for_directory (array, GCM_DATA "/profiles");



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