modules/temperature: cosmetics: typo fix (celcius -> celsius)

Reviewers: zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4129
This commit is contained in:
Mariusz Bialonczyk 2016-07-05 11:45:00 -04:00 committed by Mike Blumenkrantz
parent 67463782a8
commit 5dd4a7eddf
4 changed files with 6 additions and 6 deletions

View File

@ -220,7 +220,7 @@ _basic_create(E_Config_Dialog *cfd EINA_UNUSED, Evas *evas, E_Config_Dialog_Data
ol = e_widget_list_add(evas, 0, 0);
rg = e_widget_radio_group_new(&(cfdata->unit_method));
ow = e_widget_radio_add(evas, _("Celsius"), CELCIUS, rg);
ow = e_widget_radio_add(evas, _("Celsius"), CELSIUS, rg);
e_widget_on_change_hook_set(ow, _cb_display_changed, cfdata);
e_widget_list_object_append(ol, ow, 1, 1, 0.5);
ow = e_widget_radio_add(evas, _("Fahrenheit"), FAHRENHEIT, rg);

View File

@ -64,7 +64,7 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
inst->high = 80;
inst->sensor_type = SENSOR_TYPE_NONE;
inst->sensor_name = NULL;
inst->units = CELCIUS;
inst->units = CELSIUS;
#ifdef HAVE_EEZE
inst->backend = UDEV;
#endif
@ -76,7 +76,7 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
E_CONFIG_LIMIT(inst->poll_interval, 1, 1024);
E_CONFIG_LIMIT(inst->low, 0, 100);
E_CONFIG_LIMIT(inst->high, 0, 220);
E_CONFIG_LIMIT(inst->units, CELCIUS, FAHRENHEIT);
E_CONFIG_LIMIT(inst->units, CELSIUS, FAHRENHEIT);
#ifdef HAVE_EEZE
E_CONFIG_LIMIT(inst->backend, TEMPGET, UDEV);
#endif
@ -201,7 +201,7 @@ _gc_id_new(const E_Gadcon_Client_Class *client_class EINA_UNUSED)
inst->high = 80;
inst->sensor_type = SENSOR_TYPE_NONE;
inst->sensor_name = NULL;
inst->units = CELCIUS;
inst->units = CELSIUS;
#ifdef HAVE_EEZE
inst->backend = TEMPGET;
#endif

View File

@ -29,7 +29,7 @@ typedef struct _Config_Face Config_Face;
typedef enum _Unit
{
CELCIUS,
CELSIUS,
FAHRENHEIT
} Unit;

View File

@ -39,7 +39,7 @@ temperature_udev_update(void *data)
cur = strtod(test, NULL);
if (cur > 0)
{
temp += (cur / 1000); /* udev reports temp in (celcius * 1000) for some reason */
temp += (cur / 1000); /* udev reports temp in (celsius * 1000) for some reason */
cpus++;
}
}