]> git.ozlabs.org Git - petitboot/commitdiff
ui/ncurses: Move menu initialisation to cui code
authorJeremy Kerr <jk@ozlabs.org>
Thu, 24 Jul 2014 07:13:24 +0000 (15:13 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 28 Jul 2014 05:50:35 +0000 (13:50 +0800)
We'll want to re-initialise the petitboot main menu (when the language
is changed), which we can't do if the items are populated entirely from
the main() function.

This change moves the menu initilisation to the cui code, we we can
re-init when necessary.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

No differences found