diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-11-16 01:38:30 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-11-16 01:38:30 +0000 |
commit | bdf2961ba3c0d6ac1b58d6e4acd748415d4cfdd6 (patch) | |
tree | 2311c321ca36b82e9bfc521442871998979e49b0 /apps/filetree.c | |
parent | d5af5c061c92dc4e662d6fa423643796d29158ee (diff) |
Fix some drawing problems when displaying the WPS initially with sbs enabled. Move initial display of the wps to wps.c too. Should fix bug 3 of FS#10771.
Also change GUI_EVENT_REFRESH event handling so that the passed drawing function is always called, not only when sbs or custom ui vp are used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23644 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/filetree.c')
-rw-r--r-- | apps/filetree.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/apps/filetree.c b/apps/filetree.c index 945b9ac504..6b56c80cd5 100644 --- a/apps/filetree.c +++ b/apps/filetree.c @@ -528,13 +528,9 @@ int ft_enter(struct tree_context* c) splash(0, ID2P(LANG_WAIT)); if (!settings_load_config(buf,true)) break; - /* do both steps seperately so that the redrawing after theme - * changing is independant of whether the theme has a custom ui - * vp or not */ - send_event(GUI_EVENT_REFRESH, NULL); - /* for the statusbar */ - send_event(GUI_EVENT_ACTIONUPDATE, (void*)true); - tree_drawlists(); + + /* redraw the UI in case the user setting changed apparence */ + send_event(GUI_EVENT_REFRESH, tree_drawlists); splash(HZ, ID2P(LANG_SETTINGS_LOADED)); break; |