Hi

Dne Sun, 3 Jan 2010 04:11:00 +0100
Michael Prokop <[email protected]> napsal(a):

> Dynamic percentage calculation for the resolution of what should be
> displayed should fix this issue. A trivial patch which addresses the
> issue for me (please consider asking upstream about it, it's really
> just a quick hack that upstream might want to check/modify/improve):
> 
> @@ -495,8 +495,7 @@
>      unused = tm - s
>      t = 0
>      c = 0
> -    job_percentage = max(values) / (tm * 1.0)
> -    while values and (t + values[-1 - c] < (tm * job_percentage) or
> +    while values and (t + values[-1 - c] < (tm * .02) or
>                        values[-1 - c] < (tm * .005)):
>          c += 1
>          t += values.pop()

Thanks I forwarded this to upstream.

-- 
        Michal Čihař | http://cihar.com | http://blog.cihar.com

Attachment: signature.asc
Description: PGP signature

Reply via email to