Enlightenment CVS committal
Author : pfritz
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/temperature
Modified Files:
e_mod_config.c e_mod_main.c
Log Message:
*API BREAK* see the discussion in the mailing list. misc and e_modules will
follow
===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/temperature/e_mod_config.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- e_mod_config.c 24 Jul 2007 18:47:26 -0000 1.34
+++ e_mod_config.c 25 Jul 2007 17:00:51 -0000 1.35
@@ -135,7 +135,7 @@
{
int len;
- sprintf(path, "%s", ecore_file_get_file(name));
+ sprintf(path, "%s", ecore_file_file_get(name));
len = strlen(path);
if (len > 6)
path[len - 6] = '\0';
@@ -151,7 +151,7 @@
ecore_list_destroy(therms);
}
- ecore_list_goto_first(cfdata->sensors);
+ ecore_list_first_goto(cfdata->sensors);
while ((name = ecore_list_next(cfdata->sensors)))
{
if (!strcmp(cfdata->inst->sensor_name, name))
@@ -188,7 +188,7 @@
cfdata = E_NEW(E_Config_Dialog_Data, 1);
cfdata->inst = cfd->data;
cfdata->sensors = ecore_list_new();
- ecore_list_set_free_cb(cfdata->sensors, free);
+ ecore_list_free_cb_set(cfdata->sensors, free);
_fill_data(cfdata);
return cfdata;
}
@@ -320,7 +320,7 @@
e_widget_framelist_object_append(of, ob);
e_widget_list_object_append(o, of, 1, 1, 0.5);
- if (!ecore_list_is_empty(cfdata->sensors))
+ if (!ecore_list_empty_is(cfdata->sensors))
{
/* TODO: Notify user which thermal system is in use */
/* TODO: Let the user choose the wanted thermal system */
@@ -329,7 +329,7 @@
of = e_widget_framelist_add(evas, _("Sensors"), 0);
rg = e_widget_radio_group_new(&(cfdata->sensor));
- ecore_list_goto_first(cfdata->sensors);
+ ecore_list_first_goto(cfdata->sensors);
while ((name = ecore_list_next(cfdata->sensors)))
{
ob = e_widget_radio_add(evas, _(name), n, rg);
@@ -409,7 +409,7 @@
if (cfdata->inst->sensor_name)
evas_stringshare_del(cfdata->inst->sensor_name);
cfdata->inst->sensor_name =
- evas_stringshare_add(ecore_list_goto_index(cfdata->sensors,
cfdata->sensor));
+ evas_stringshare_add(ecore_list_index_goto(cfdata->sensors,
cfdata->sensor));
temperature_face_update_config(cfdata->inst);
e_config_save_queue();
===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/temperature/e_mod_main.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -3 -r1.84 -r1.85
--- e_mod_main.c 16 Jul 2007 21:27:22 -0000 1.84
+++ e_mod_main.c 25 Jul 2007 17:00:51 -0000 1.85
@@ -212,7 +212,7 @@
inst->sensor_name = evas_stringshare_add("tz0");
#else
therms = ecore_file_ls("/proc/acpi/thermal_zone");
- if ((therms) && (!ecore_list_is_empty(therms)))
+ if ((therms) && (!ecore_list_empty_is(therms)))
{
char *name;
@@ -259,7 +259,7 @@
{
int len;
- sprintf(path, "%s", ecore_file_get_file(name));
+ sprintf(path, "%s", ecore_file_file_get(name));
len = strlen(path);
if (len > 6)
path[len - 6] = '\0';
@@ -553,7 +553,7 @@
result = ecore_list_new();
if (result)
{
- ecore_list_set_free_cb(result, free);
+ ecore_list_free_cb_set(result, free);
/* Look through all the i2c devices. */
therms = ecore_file_ls("/sys/bus/i2c/devices");
@@ -589,7 +589,7 @@
}
ecore_list_destroy(therms);
}
- ecore_list_goto_first(result);
+ ecore_list_first_goto(result);
}
return result;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs