Enlightenment CVS committal
Author : sebastid
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/battery
Modified Files:
e_mod_main.c
Log Message:
Move from e_file to ecore_file
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/battery/e_mod_main.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- e_mod_main.c 17 Feb 2005 17:32:08 -0000 1.19
+++ e_mod_main.c 21 Feb 2005 16:08:02 -0000 1.20
@@ -637,9 +637,9 @@
ef = data;
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;
- else if (e_file_exists("/proc/apm"))
+ else if (ecore_file_exists("/proc/apm"))
ef->battery_check_mode = CHECK_LINUX_APM;
}
switch (ef->battery_check_mode)
@@ -784,7 +784,7 @@
stat = E_NEW(Status, 1);
/* Read some information on first run. */
- bats = e_file_ls("/proc/acpi/battery");
+ bats = ecore_file_ls("/proc/acpi/battery");
while (bats)
{
FILE *f;
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs