[ icewm-Bugs-571356 ] patch to add acpi support and more
Brought to you by:
captnmark
From: <no...@so...> - 2002-10-13 15:31:48
|
Bugs item #571356, was opened at 2002-06-20 00:18 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100031&aid=571356&group_id=31 >Category: icewm-1.2 Group: taskbar >Status: Closed Resolution: Fixed Priority: 6 Submitted By: Nobody/Anonymous (nobody) Assigned to: Marko Macek (captnmark) Summary: patch to add acpi support and more Initial Comment: This patch adds acpi support to the taskbar battery window and also adds better look to this window via size changes. The patch is a quick hack I did for myself, so you better look it over before applying it, but it is working well here on both my acpi laptop and my apm old one. I have lookded it over for a bit, but as I don't know the icewm code I cannot waranty anything. Should you have any question, don't hesitate to ask me. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-09-26 20:19 Message: Logged In: NO Just a little comment on the patch I submitted and you applied, it seems that now the APM stuff is in seconds and before it was in minutes, I wonder how this will affect old APM computers, anyway, as for the ACPI patch we need a little change to convert to seconds and not to minutes like I was doing before, the change is this: at aapm.cc where we calculate BATtime it reads like this: BATtime=BATstatus*60/BATlife; and it should read like this: BATtime=BATstatus*3600/BATlife; This way we end up with hours:minutes on the taskbar, like we want. That's the only problem I have seen with the patch so far. Regards... ---------------------------------------------------------------------- Comment By: Marko Macek (captnmark) Date: 2002-09-08 16:12 Message: Logged In: YES user_id=1814 checked in for icewm-1.2.3. please verify CVS: branch: icewm-1-2-BRANCH module: icewm-1.2 ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2002-06-20 00:35 Message: Logged In: NO The file did not attach well, so I have put it here: http://ftp.manty.net/download/icewm-acpi.patch You can find the bug I filled on the Debian BTS here: http://bugs.debian.org/150463 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100031&aid=571356&group_id=31 |