From 740ef11adc7dc5bf3c4c5294c8fc84f2e8518a5c Mon Sep 17 00:00:00 2001 Message-Id: <740ef11adc7dc5bf3c4c5294c8fc84f2e8518a5c.1332837959.git.bkerensa@ubuntu.com> From: Benjamin Kerensa Date: Tue, 27 Mar 2012 01:41:36 -0700 Subject: [PATCH] Signed-off-by: Benjamin Kerensa Fixed "Celcius" Typos #8325 --- panel-plugin/weather-data.c | 2 +- panel-plugin/weather.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/panel-plugin/weather-data.c b/panel-plugin/weather-data.c index 5c17a8d..9663f8a 100644 --- a/panel-plugin/weather-data.c +++ b/panel-plugin/weather-data.c @@ -95,7 +95,7 @@ get_unit (xml_weather *data, units unit, datas type) switch(type) { case TEMPERATURE: - return strcmp(loc->temperature_unit, "celcius") ? "°F":"°C"; + return strcmp(loc->temperature_unit, "celsius") ? "°F":"°C"; case PRESSURE: return CHK_NULL(loc->pressure_unit); case WIND_SPEED: diff --git a/panel-plugin/weather.c b/panel-plugin/weather.c index 7b75c4b..1b674dd 100644 --- a/panel-plugin/weather.c +++ b/panel-plugin/weather.c @@ -461,7 +461,7 @@ xfceweather_read_config (XfcePanelPlugin *plugin, data->location_name = g_strdup (value); } - if (xfce_rc_read_bool_entry (rc, "celcius", TRUE)) + if (xfce_rc_read_bool_entry (rc, "celsius", TRUE)) data->unit = METRIC; else data->unit = IMPERIAL; @@ -544,7 +544,7 @@ xfceweather_write_config (XfcePanelPlugin *plugin, if (!rc) return; - xfce_rc_write_bool_entry (rc, "celcius", (data->unit == METRIC)); + xfce_rc_write_bool_entry (rc, "celsius", (data->unit == METRIC)); if (data->lat) xfce_rc_write_entry (rc, "lat", data->lat); -- 1.7.9.1