]> oss.titaniummirror.com Git - webber.git/commit
hierarchy: fix ordering of menu entries
authorHolger Schurig <holgerschurig@gmx.de>
Thu, 25 Jun 2009 12:53:59 +0000 (14:53 +0200)
committerHolger Schurig <holgerschurig@gmx.de>
Thu, 25 Jun 2009 12:53:59 +0000 (14:53 +0200)
commit8c48cb9d69740d71b718ebdbf909499ff33a5a0e
tree60e25d2d12d7668e74249f07db3064837df292ad
parent5103bcda29aabdc583fabfcd5708e46b4c69b7a0
hierarchy: fix ordering of menu entries

Previously the code tried to determine a new "file.order" value by
iterating over all files, looking for the highest order. It then
assigned order+100 to a file which didn't have a an order specified.

This turned out to be a flaw of thinking, because the order in which
files are is non-deterministic.
plugins/hierarchy.py