forked from len0rd/rockbox
fix FS#9023 by forcing the icons in the file to clean seelction screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17601 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1692d9b996
commit
5348f3d949
1 changed files with 3 additions and 0 deletions
|
@ -455,12 +455,15 @@ int tidy_lcd_menu(void)
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
{
|
{
|
||||||
|
bool show_icons = rb->global_settings->show_icons;
|
||||||
struct simplelist_info list;
|
struct simplelist_info list;
|
||||||
|
rb->global_settings->show_icons = true; /* force the icons so its readable */
|
||||||
rb->simplelist_info_init(&list, "Files to Clean", tidy_type_count, NULL);
|
rb->simplelist_info_init(&list, "Files to Clean", tidy_type_count, NULL);
|
||||||
list.get_icon = get_icon;
|
list.get_icon = get_icon;
|
||||||
list.get_name = get_name;
|
list.get_name = get_name;
|
||||||
list.action_callback = list_action_callback;
|
list.action_callback = list_action_callback;
|
||||||
rb->simplelist_show_list(&list);
|
rb->simplelist_show_list(&list);
|
||||||
|
rb->global_settings->show_icons = show_icons;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue