Move from e_file to ecore_file

SVN revision: 13454
This commit is contained in:
sebastid 2005-02-21 16:08:04 +00:00 committed by sebastid
parent b208a072af
commit 013cf15a76
2 changed files with 4 additions and 4 deletions

View File

@ -637,9 +637,9 @@ _battery_cb_check(void *data)
ef = data; ef = data;
if (ef->battery_check_mode == 0) if (ef->battery_check_mode == 0)
{ {
if (e_file_is_dir("/proc/acpi")) if (ecore_file_is_dir("/proc/acpi"))
ef->battery_check_mode = CHECK_LINUX_ACPI; ef->battery_check_mode = CHECK_LINUX_ACPI;
else if (e_file_exists("/proc/apm")) else if (ecore_file_exists("/proc/apm"))
ef->battery_check_mode = CHECK_LINUX_APM; ef->battery_check_mode = CHECK_LINUX_APM;
} }
switch (ef->battery_check_mode) switch (ef->battery_check_mode)
@ -784,7 +784,7 @@ _battery_linux_acpi_check(Battery *ef)
stat = E_NEW(Status, 1); stat = E_NEW(Status, 1);
/* Read some information on first run. */ /* Read some information on first run. */
bats = e_file_ls("/proc/acpi/battery"); bats = ecore_file_ls("/proc/acpi/battery");
while (bats) while (bats)
{ {
FILE *f; FILE *f;

View File

@ -780,7 +780,7 @@ _temperature_cb_check(void *data)
char buf[4096]; char buf[4096];
ef = data; ef = data;
therms = e_file_ls("/proc/acpi/thermal_zone"); therms = ecore_file_ls("/proc/acpi/thermal_zone");
if (!therms) if (!therms)
{ {
FILE *f; FILE *f;