mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(XMB) Add 'Scan File' to horizontal 'Import Content' tab
(XMB) Hide 'Scan Content' on Main Menu since we already have a tab dedicated to it, and it unclutters the main menu
This commit is contained in:
parent
7bbc1f64c3
commit
3e886df637
@ -2906,6 +2906,12 @@ static int menu_displaylist_parse_scan_directory_list(
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_DIRECTORY),
|
||||
MENU_ENUM_LABEL_SCAN_DIRECTORY,
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
|
||||
menu_entries_append_enum(info->list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SCAN_FILE),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_SCAN_FILE),
|
||||
MENU_ENUM_LABEL_SCAN_FILE,
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
|
@ -2178,13 +2178,16 @@ static bool setting_append_list(
|
||||
parent_group);
|
||||
}
|
||||
|
||||
CONFIG_ACTION(
|
||||
list, list_info,
|
||||
MENU_ENUM_LABEL_ADD_CONTENT_LIST,
|
||||
MENU_ENUM_LABEL_VALUE_ADD_CONTENT_LIST,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group);
|
||||
if (!string_is_equal(settings->menu.driver, "xmb"))
|
||||
{
|
||||
CONFIG_ACTION(
|
||||
list, list_info,
|
||||
MENU_ENUM_LABEL_ADD_CONTENT_LIST,
|
||||
MENU_ENUM_LABEL_VALUE_ADD_CONTENT_LIST,
|
||||
&group_info,
|
||||
&subgroup_info,
|
||||
parent_group);
|
||||
}
|
||||
|
||||
#if defined(HAVE_NETWORKING)
|
||||
CONFIG_ACTION(
|
||||
|
Loading…
x
Reference in New Issue
Block a user