[gnome-color-manager] trivial: only show the VCGT warning for display profiles
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] trivial: only show the VCGT warning for display profiles
- Date: Fri, 15 Oct 2010 16:39:47 +0000 (UTC)
commit f9b7077e04c89b65dd4de28fe5ac8ac6a6eface0
Author: Richard Hughes <richard hughsie com>
Date: Fri Oct 15 17:39:39 2010 +0100
trivial: only show the VCGT warning for display profiles
src/gcm-cell-renderer-profile-icon.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-cell-renderer-profile-icon.c b/src/gcm-cell-renderer-profile-icon.c
index e13e935..2bc8ed7 100644
--- a/src/gcm-cell-renderer-profile-icon.c
+++ b/src/gcm-cell-renderer-profile-icon.c
@@ -60,7 +60,8 @@ gcm_cell_renderer_set_icon_name (GcmCellRendererProfileIcon *renderer)
{
const gchar *icon_name = NULL;
- if (!gcm_profile_get_has_vcgt (renderer->profile))
+ if (gcm_profile_get_kind (renderer->profile) == GCM_PROFILE_KIND_DISPLAY_DEVICE &&
+ !gcm_profile_get_has_vcgt (renderer->profile))
icon_name = "dialog-information";
g_object_set (renderer, "icon-name", icon_name, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]