Updating branch refs/heads/master to a58587cd0641ece3d6a5d3009fe4b8916057d8b4 (commit) from 6371ca67a41477929073cdb26d354292df311d04 (commit)
commit a58587cd0641ece3d6a5d3009fe4b8916057d8b4 Author: Fabian <timyst...@arcor.de> Date: Fri Dec 28 21:51:53 2012 +0100 no decimal places for temperatures any longer lib/sensors-interface-common.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sensors-interface-common.c b/lib/sensors-interface-common.c index 54a97f8..7647b62 100644 --- a/lib/sensors-interface-common.c +++ b/lib/sensors-interface-common.c @@ -141,10 +141,10 @@ format_sensor_value (t_tempscale scale, t_chipfeature *chipfeature, switch (chipfeature->class) { case TEMPERATURE: if (scale == FAHRENHEIT) { - *help = g_strdup_printf(_("%.1f °F"), + *help = g_strdup_printf(_("%.0f °F"), (float) (sensorFeature * 9/5 + 32) ); } else { /* Celsius */ - *help = g_strdup_printf(_("%.1f °C"), sensorFeature); + *help = g_strdup_printf(_("%.0f °C"), sensorFeature); } break; _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits