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/filetree.c | |
parent | 6bb507a34519d721d459e8782100840e47a9859b (diff) | |
download | rockbox-fc30b183c826ce006b531a24acfb3484bdd9871b.tar.gz rockbox-fc30b183c826ce006b531a24acfb3484bdd9871b.zip |
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/filetree.c')
-rw-r--r-- | apps/filetree.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/filetree.c b/apps/filetree.c index ec7932435d..d7e77226e5 100644 --- a/apps/filetree.c +++ b/apps/filetree.c | |||
@@ -181,11 +181,6 @@ static void check_file_thumbnails(struct tree_context* c) | |||
181 | closedir(dir); | 181 | closedir(dir); |
182 | } | 182 | } |
183 | 183 | ||
184 | static void filetree_drawlists(void) | ||
185 | { | ||
186 | gui_synclist_draw(&tree_lists); | ||
187 | } | ||
188 | |||
189 | /* support function for qsort() */ | 184 | /* support function for qsort() */ |
190 | static int compare(const void* p1, const void* p2) | 185 | static int compare(const void* p1, const void* p2) |
191 | { | 186 | { |
@@ -519,7 +514,7 @@ int ft_enter(struct tree_context* c) | |||
519 | send_event(GUI_EVENT_REFRESH, NULL); | 514 | send_event(GUI_EVENT_REFRESH, NULL); |
520 | /* for the statusbar */ | 515 | /* for the statusbar */ |
521 | send_event(GUI_EVENT_ACTIONUPDATE, (void*)true); | 516 | send_event(GUI_EVENT_ACTIONUPDATE, (void*)true); |
522 | filetree_drawlists(); | 517 | tree_drawlists(); |
523 | splash(HZ, ID2P(LANG_SETTINGS_LOADED)); | 518 | splash(HZ, ID2P(LANG_SETTINGS_LOADED)); |
524 | break; | 519 | break; |
525 | 520 | ||
@@ -629,7 +624,7 @@ int ft_enter(struct tree_context* c) | |||
629 | } | 624 | } |
630 | } | 625 | } |
631 | 626 | ||
632 | send_event(GUI_EVENT_REFRESH, filetree_drawlists); | 627 | send_event(GUI_EVENT_REFRESH, tree_drawlists); |
633 | 628 | ||
634 | if ( play ) { | 629 | if ( play ) { |
635 | /* the resume_index must always be the index in the | 630 | /* the resume_index must always be the index in the |