From 2eb1cb6f826a6542b3947f36a57130de235e530e Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 7 Sep 2009 17:37:06 +0000 Subject: 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/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/main.c') diff --git a/apps/main.c b/apps/main.c index 6aa16e5cb6..c7510801d4 100644 --- a/apps/main.c +++ b/apps/main.c @@ -135,6 +135,9 @@ static void app_main(void) screens[i].clear_display(); screens[i].update(); } +#ifdef HAVE_LCD_BITMAP + list_init(); +#endif tree_gui_init(); gui_syncstatusbar_init(&statusbars); viewportmanager_init(); -- cgit v1.2.3