Mailinglist Archive: yast-devel (101 mails)

< Previous Next >
Re: [yast-devel] Progress::New() can be called recursively now
  • From: Johannes Meixner <jsmeix@xxxxxxx>
  • Date: Wed, 23 Jan 2008 16:02:57 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0801231559120.13902@xxxxxxxxxxxxxx>


On Jan 23 13:04 Ladislav Slezak wrote (shortened):
Johannes Meixner wrote:
I think a better recalculation would be to devide it equally
regardless if it is a child or grandchild, i.e:

child1: 0% to 33%
grandchild1: 33% to 66%
grandchild2: 66% to 100%

In this case you need to know how many children there will
be _before_ the progress is started.
I think the current implementation is good enough

In this case the current implementation is perfect
which means "as good as possible" because obviously
nothing can be better than possible.

Kind Regards
Johannes Meixner
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >