summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-02-01 11:34:16 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-02-01 11:34:16 +0000
commit80cb3551eb61cdf240cf24ad0c44016475bf2e61 (patch)
treee9c72c90954b73807d64df59fefcdf0b1c1fc615 /apps/plugins
parente55f2329c059434452c62af48903b4607e500e4e (diff)
Statusbar handling fixes.
Fixes FS#9845 - %we/%wd wasnt working WPS no longer resets the viewportmanger more than needed (was doing it twice/draw before) screens can now enable/disable the statusbar easily ignoring the setting instead of needing special handling (fix for the radio screen coming soon) minor glitch introduced in this commit... the statusbar in the WPS might disappear for a fraction of a second when it is entered, I need to track this down... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19894 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lib/oldmenuapi.c2
-rw-r--r--apps/plugins/star.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/lib/oldmenuapi.c b/apps/plugins/lib/oldmenuapi.c
index 9c371d531e..864291fd4d 100644
--- a/apps/plugins/lib/oldmenuapi.c
+++ b/apps/plugins/lib/oldmenuapi.c
@@ -94,6 +94,7 @@ int menu_show(int m)
bool exit = false;
int key;
+ char bars = rb->viewportmanager_set_statusbar(VP_ALLSCREENS);
rb->gui_synclist_draw(&(menus[m].synclist));
while (!exit) {
key = rb->get_action(CONTEXT_MAINMENU,HZ/2);
@@ -123,6 +124,7 @@ int menu_show(int m)
break;
}
}
+ rb->viewportmanager_set_statusbar(bars);
return MENU_SELECTED_EXIT;
}
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index 931161308a..c4251cd223 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -1030,7 +1030,7 @@ static int star_menu(void)
}
while(!menu_quit)
{
- switch(rb->do_menu(&menu, &selection, vp, true))
+ switch(rb->do_menu(&menu, &selection, vp, false))
{
case 0:
menu_quit = true;