Fix buttonbar handling/theme changed handling in lists.
commit8e29fa838563d17f0aad48a0075fd945bf8cb7b3
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Mon, 7 Sep 2009 17:37:06 +0000 (7 17:37 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Mon, 7 Sep 2009 17:37:06 +0000 (7 17:37 +0000)
treed6ade8f11719173c858f606ad123240a72abc553
parent1e559ff3dfe16bfa6fdc93269b6caa7faf6d54dd
Fix buttonbar handling/theme changed handling in lists.

The lists need to copy to a local parent if a list passes NULL as parent in the init. This was before the commit of custom ui vp, but I removed it since I (wrongly) thought using the ui vp as parent would be fine. Let the viewportmanager fire a event in case when a theme-related setting changed and simply the handling in the lists code.
However the buttonbar handling didn't work before anyway, since list code didn't know if the buttonbar was active (it asked a variable which was always false....).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22651 a1c6a512-1295-4272-9138-f99709370657
apps/appevents.h
apps/gui/list.c
apps/gui/list.h
apps/gui/viewport.c
apps/gui/viewport.h
apps/main.c
apps/menus/theme_menu.c
apps/screen_access.c