diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-02-04 04:49:43 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-02-04 04:49:43 +0000 |
commit | 08e3ebbf8c8716fe61486d697671abd9774285d7 (patch) | |
tree | 43b4d1c5653c3a3b0a583fdf7209cffe3b502793 /apps | |
parent | 0852527d5faa938f2ca546142ec0f0fe9a92b73a (diff) | |
download | rockbox-08e3ebbf8c8716fe61486d697671abd9774285d7.tar.gz rockbox-08e3ebbf8c8716fe61486d697671abd9774285d7.zip |
Temp fix for the statusbar disappearing for a fraction of a second when the WPS is first opened
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19917 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/gwps-common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index 2d65629f97..1241c8a199 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -387,6 +387,14 @@ bool gui_wps_display(void) | |||
387 | FOR_NB_SCREENS(i) | 387 | FOR_NB_SCREENS(i) |
388 | { | 388 | { |
389 | gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_ALL); | 389 | gui_wps_refresh(&gui_wps[i], 0, WPS_REFRESH_ALL); |
390 | /* temporary work around so the statusbar doesnt disappear when the WPS | ||
391 | * is first entered. This should be removed when the | ||
392 | * WPS-statusbar handling is fixed up a bit more */ | ||
393 | bool draw = global_settings.statusbar; | ||
394 | if (gui_wps[i].data->wps_sb_tag) | ||
395 | draw = gui_wps[i].data->show_sb_on_wps; | ||
396 | if (draw) | ||
397 | gui_statusbar_draw(&statusbars.statusbars[i], true); | ||
390 | } | 398 | } |
391 | return false; | 399 | return false; |
392 | } | 400 | } |