[gnome-color-manager] Do not do the description color-space guess for non-RGB profiles. Fixes #606552
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Do not do the description color-space guess for non-RGB profiles. Fixes #606552
- Date: Mon, 11 Jan 2010 12:51:39 +0000 (UTC)
commit d1002ebb80c41343a42012911d6bbb8fc5af5455
Author: Richard Hughes <richard hughsie com>
Date: Mon Jan 11 12:51:11 2010 +0000
Do not do the description color-space guess for non-RGB profiles. Fixes #606552
src/gcm-prefs.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-prefs.c b/src/gcm-prefs.c
index 2d2dda0..73774a6 100644
--- a/src/gcm-prefs.c
+++ b/src/gcm-prefs.c
@@ -2333,7 +2333,8 @@ gcm_prefs_setup_space_combobox (GtkWidget *widget, GcmProfileColorspace colorspa
/* only for correct type */
if (!has_vcgt &&
colorspace == colorspace_tmp &&
- g_strstr_len (description, -1, search) != NULL) {
+ (colorspace == GCM_PROFILE_COLORSPACE_CMYK ||
+ g_strstr_len (description, -1, search) != NULL)) {
gcm_prefs_combobox_add_profile (widget, profile);
/* set active option */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]