summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-01-03 13:27:19 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-01-03 13:27:19 +0000
commit4b472de39b30c079ff846aec83d2da33cc0adcc5 (patch)
treef2435c9307c6aa495f4dc34c098290ddad3f97c3 /apps/menu.c
parent3681ff197d3cf5393df3d56d7b6f7b39af0fc47f (diff)
downloadrockbox-4b472de39b30c079ff846aec83d2da33cc0adcc5.tar.gz
rockbox-4b472de39b30c079ff846aec83d2da33cc0adcc5.tar.bz2
rockbox-4b472de39b30c079ff846aec83d2da33cc0adcc5.zip
a few more button/statusbar fixes...
* hopefully fix the last of the plugins which dont handle the enw SYS event. * fix FS#9750 - WPS's which dont specify (or force the wps on) wernt showing the statusbar at all * lamp, battery_bench, *_flash button handling fixes * plugins using the core menu code will again show the statusbar git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19656 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/menu.c b/apps/menu.c
index b5309a047e..419db3ae3e 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -355,6 +355,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
const struct menu_item_ex *temp, *menu;
int ret = 0, i;
bool redraw_lists;
+ bool oldbars = viewportmanager_set_statusbar(!hide_bars);
const struct menu_item_ex *menu_stack[MAX_MENUS];
int menu_stack_selected_item[MAX_MENUS];
@@ -696,6 +697,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
*start_selected = get_menu_selection(
gui_synclist_get_sel_pos(&lists), menu);
}
+ viewportmanager_set_statusbar(oldbars);
return ret;
}