summaryrefslogtreecommitdiffstats
path: root/apps/root_menu.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-03-19 23:04:39 +0000
committerThomas Martitz <kugel@rockbox.org>2009-03-19 23:04:39 +0000
commitce6b116bc1c09b665e4a79272bc409b5e27f773e (patch)
tree6869595cd9da71760e52f804804ecb2d137dc207 /apps/root_menu.c
parentcd34de693cc629405cd61132a6429f0421c7566d (diff)
downloadrockbox-ce6b116bc1c09b665e4a79272bc409b5e27f773e.tar.gz
rockbox-ce6b116bc1c09b665e4a79272bc409b5e27f773e.tar.bz2
rockbox-ce6b116bc1c09b665e4a79272bc409b5e27f773e.zip
Put exiting the wps entirely into the hands of the wps (restoring backdrops and statusbars, stop scrolling). Remove the restoration code from root_menu, and add some gwps_leave_wps at every possible return/screen change. This also unifies exiting the wps code-wise.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20399 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r--apps/root_menu.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index c92547aecb..71391ea87a 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -262,14 +262,6 @@ static int wpsscrn(void* param)
{
splash(HZ*2, ID2P(LANG_NOTHING_TO_RESUME));
}
-#if LCD_DEPTH > 1
- show_main_backdrop();
-#endif
-#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
- show_remote_main_backdrop();
-#endif
- /* always re-enable the statusbar after the WPS */
- viewportmanager_set_statusbar(VP_SB_ALLSCREENS);
return ret_val;
}
#if CONFIG_TUNER