From dc3f746af29e70a1b1dedef319334f136aae0255 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 8 Feb 2010 05:11:32 +0000 Subject: [PATCH] fix FS#10957 - the wps backdrop is always shown in the "create bookmark?" ask screen (Actual fix is to always enable the theme in the yesno screen) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24560 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/yesno.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/gui/yesno.c b/apps/gui/yesno.c index 5d36bd048c..a153a43fec 100644 --- a/apps/gui/yesno.c +++ b/apps/gui/yesno.c @@ -144,7 +144,7 @@ enum yesno_res gui_syncyesno_run(const struct text_message * main_message, yn[i].result_message[YESNO_NO]=no_message; yn[i].display=&screens[i]; yn[i].vp = &vp[i]; - viewport_set_defaults(yn[i].vp, i); + viewportmanager_theme_enable(i, true, yn[i].vp); screens[i].stop_scroll(); gui_yesno_draw(&(yn[i])); } @@ -186,7 +186,10 @@ enum yesno_res gui_syncyesno_run(const struct text_message * main_message, if(result_displayed) sleep(HZ); - FOR_NB_SCREENS(i) /* stop scrolling before getting out */ + FOR_NB_SCREENS(i) + { screens[i].scroll_stop(yn[i].vp); + viewportmanager_theme_undo(i, true); + } return(result); }