summaryrefslogtreecommitdiff
path: root/apps/plugin.c
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/plugin.c
parente55f2329c059434452c62af48903b4607e500e4e (diff)
downloadrockbox-80cb3551eb61cdf240cf24ad0c44016475bf2e61.tar.gz
rockbox-80cb3551eb61cdf240cf24ad0c44016475bf2e61.zip
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/plugin.c')
-rw-r--r--apps/plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 98bbd2956f..95dec9d767 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -636,7 +636,7 @@ static const struct plugin_api rockbox_api = {
636int plugin_load(const char* plugin, const void* parameter) 636int plugin_load(const char* plugin, const void* parameter)
637{ 637{
638 int rc; 638 int rc;
639 bool oldbars; 639 char oldbars;
640 struct plugin_header *hdr; 640 struct plugin_header *hdr;
641#ifdef SIMULATOR 641#ifdef SIMULATOR
642 void *pd; 642 void *pd;
@@ -743,11 +743,11 @@ int plugin_load(const char* plugin, const void* parameter)
743#endif 743#endif
744 744
745 invalidate_icache(); 745 invalidate_icache();
746 oldbars = viewportmanager_set_statusbar(false); 746 oldbars = viewportmanager_set_statusbar(0);
747 747
748 rc = hdr->entry_point(parameter); 748 rc = hdr->entry_point(parameter);
749 749
750 viewportmanager_set_statusbar(true); 750 viewportmanager_set_statusbar(oldbars);
751 751
752 button_clear_queue(); 752 button_clear_queue();
753 753