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



commit a90b2f62bf97b5ef79f01c3728b0a95fdfedead2
Author: Richard Hughes <richard hughsie com>
Date:   Sat Jun 29 08:22:30 2013 +0100

    Kelvin is not a graded scale
    
    Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=979520

 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 007a086..1cb9e5e 100644
--- a/src/gcm-viewer.c
+++ b/src/gcm-viewer.c
@@ -1198,11 +1198,11 @@ gcm_viewer_set_profile (GcmViewerPrivate *viewer, CdProfile *profile)
        gtk_widget_set_visible (widget, temperature > 0);
        if (temperature > 0) {
                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]