[Pkg-e-commits] [SCM] Enlightenment 17 branch, upstream-vcs, updated. 3eef8cab2cb6f039b529ffc89deb21a0dcab03df

raster raster at alioth.debian.org
Sat May 24 15:07:22 UTC 2008


The following commit has been merged in the upstream-vcs branch:
commit 9fb34eb17090a5fcb5867e7ebcf6e4126e1cadee
Author: raster <raster>
Date:   Sun May 11 16:21:21 2008 +0000

    remove ! apm exists check.

diff --git a/src/modules/battery/batget.c b/src/modules/battery/batget.c
index 2af98e6..8266d17 100644
--- a/src/modules/battery/batget.c
+++ b/src/modules/battery/batget.c
@@ -1399,8 +1399,7 @@ init(void)
    darwin_init();
 #else
    if ((ecore_file_is_dir("/sys/class/power_supply")) &&
-       (dir_has_contents("/sys/class/power_supply")) &&
-       (!ecore_file_exists("/proc/apm"))) /* >= 2.6.24 */
+       (dir_has_contents("/sys/class/power_supply")))
      {
 	mode = CHECK_SYS_CLASS_POWER_SUPPLY;
 	linux_sys_class_power_supply_init();

-- 
Enlightenment 17



More information about the Pkg-e-commits mailing list