mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 15:42:28 -05:00
Remove the menu title on the player.
Fix the enu callbacks so ACTION_EXIT_MENUITEM is called when exiting a menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12324 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
aa8761fccc
commit
f8e08f0f5e
1 changed files with 4 additions and 3 deletions
|
|
@ -439,12 +439,12 @@ static void init_menu_lists(const struct menu_item_ex *menu,
|
|||
icon = bitmap_icons_6x8[Icon_Submenu_Entered];
|
||||
else
|
||||
icon = menu->callback_and_desc->icon;
|
||||
#endif
|
||||
gui_synclist_set_title(lists, P2STR(menu->callback_and_desc->desc), icon);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
gui_synclist_set_title(lists, P2STR(menu->callback_and_desc->desc), icon);
|
||||
if (global_settings.show_icons)
|
||||
gui_synclist_set_icon_callback(lists, menu_get_icon);
|
||||
else
|
||||
#else
|
||||
(void)icon;
|
||||
#endif
|
||||
gui_synclist_set_icon_callback(lists, NULL);
|
||||
gui_synclist_set_nb_items(lists,current_subitems_count);
|
||||
|
|
@ -549,6 +549,7 @@ int do_menu(const struct menu_item_ex *start_menu)
|
|||
}
|
||||
else
|
||||
{
|
||||
menu_callback(ACTION_EXIT_MENUITEM, menu);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue