diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-09-20 00:04:39 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-09-20 00:04:39 +0000 |
| commit | fc30b183c826ce006b531a24acfb3484bdd9871b (patch) | |
| tree | 98c66f50bce9dfab48fdc047fe499450d36c1bd8 /apps/tree.c | |
| parent | 6bb507a34519d721d459e8782100840e47a9859b (diff) | |
| download | rockbox-fc30b183c826ce006b531a24acfb3484bdd9871b.zip rockbox-fc30b183c826ce006b531a24acfb3484bdd9871b.tar.gz rockbox-fc30b183c826ce006b531a24acfb3484bdd9871b.tar.bz2 rockbox-fc30b183c826ce006b531a24acfb3484bdd9871b.tar.xz | |
Redraw the list after exiting the context menu to get rid of various non-blocking splashes in it if custom ui vp is used.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22744 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
| -rw-r--r-- | apps/tree.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c index 228f491..3570798 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -72,6 +72,7 @@ #include "splash.h" #include "buttonbar.h" #include "quickscreen.h" +#include "appevents.h" #include "root_menu.h" @@ -301,6 +302,12 @@ void tree_gui_init(void) } +/* drawer function for the GUI_EVENT_REDRAW callback */ +void tree_drawlists(void) +{ + gui_synclist_draw(&tree_lists); +} + struct tree_context* tree_get_context(void) { @@ -778,6 +785,7 @@ static int dirbrowse() } onplay_result = onplay(buf, attr, curr_context); } + send_event(GUI_EVENT_REFRESH, tree_drawlists); switch (onplay_result) { case ONPLAY_MAINMENU: |