diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-01-03 13:27:19 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-01-03 13:27:19 +0000 |
commit | 4b472de39b30c079ff846aec83d2da33cc0adcc5 (patch) | |
tree | f2435c9307c6aa495f4dc34c098290ddad3f97c3 /apps/menu.c | |
parent | 3681ff197d3cf5393df3d56d7b6f7b39af0fc47f (diff) | |
download | rockbox-4b472de39b30c079ff846aec83d2da33cc0adcc5.tar.gz 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.c | 2 |
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, | |||
355 | const struct menu_item_ex *temp, *menu; | 355 | const struct menu_item_ex *temp, *menu; |
356 | int ret = 0, i; | 356 | int ret = 0, i; |
357 | bool redraw_lists; | 357 | bool redraw_lists; |
358 | bool oldbars = viewportmanager_set_statusbar(!hide_bars); | ||
358 | 359 | ||
359 | const struct menu_item_ex *menu_stack[MAX_MENUS]; | 360 | const struct menu_item_ex *menu_stack[MAX_MENUS]; |
360 | int menu_stack_selected_item[MAX_MENUS]; | 361 | int menu_stack_selected_item[MAX_MENUS]; |
@@ -696,6 +697,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected, | |||
696 | *start_selected = get_menu_selection( | 697 | *start_selected = get_menu_selection( |
697 | gui_synclist_get_sel_pos(&lists), menu); | 698 | gui_synclist_get_sel_pos(&lists), menu); |
698 | } | 699 | } |
700 | viewportmanager_set_statusbar(oldbars); | ||
699 | return ret; | 701 | return ret; |
700 | } | 702 | } |
701 | 703 | ||