[gnome-color-manager/gnome-3-6] Kelvin is not a graded scale



commit ceca74806f374c1151a36a5e154ac39ddd21d312
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jul 15 09:56:43 2013 +0100

    Kelvin is not a graded scale

 src/gcm-viewer.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gcm-viewer.c b/src/gcm-viewer.c
index 064b8cf..568ba3b 100644
--- a/src/gcm-viewer.c
+++ b/src/gcm-viewer.c
@@ -1099,11 +1099,11 @@ gcm_viewer_set_profile (GcmViewerPrivate *viewer, CdProfile *profile)
        temperature = gcm_profile_get_temperature (gcm_profile);
        widget = GTK_WIDGET (gtk_builder_get_object (viewer->builder, "label_temp"));
        if (fabs (temperature - 5000) < 10) {
-               temp = g_strdup_printf ("%i°K (D50)", temperature);
+               temp = g_strdup_printf ("%iK (D50)", temperature);
        } else if (fabs (temperature - 6500) < 10) {
-               temp = g_strdup_printf ("%i°K (D65)", temperature);
+               temp = g_strdup_printf ("%iK (D65)", temperature);
        } else {
-               temp = g_strdup_printf ("%i°K", temperature);
+               temp = g_strdup_printf ("%iK", temperature);
        }
        gtk_label_set_label (GTK_LABEL (widget), temp);
        g_free (temp);


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