[Pkg-xfce-devel] Bug#629265: Bug#629265: Bug#629265: Bug#629265: Bug#629265: Broken empty battery icon on system tray
corsac at debian.org
Sun Jun 5 17:30:24 UTC 2011
On dim., 2011-06-05 at 19:47 +0300, Kim Holviala wrote:
> Nothing around that log entry which would have helped...
> I traced the code a bit and found function xfpm_battery_refresh_icon()
> which looks a bit fishy. It's the function that converts battery
> percentage to an icon name. I added some additional debug outputs to it
> to see what it really does - but I think the problem is an if-elseif
> without the final else which then proceeds to go all the way through. So
> an simple final else for the "empty battery" case will most likely fix
> this bug.
So you have a tentative fix ready? I can try testing it, I should have a
mostly empty battery and I think force_discharge with laptop plugged
should be safe.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: This is a digitally signed message part
More information about the Pkg-xfce-devel