Create MENU_ENUM_LABEL_NETWORK_INFO_ENTRY

This commit is contained in:
twinaphex 2016-07-04 16:59:29 +02:00
parent 39c50094da
commit 1ecdc1e8b7
3 changed files with 4 additions and 1 deletions

View File

@ -1186,6 +1186,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
return "collection";
case MENU_ENUM_LABEL_CORE_INFO_ENTRY:
return "core_info_entry";
case MENU_ENUM_LABEL_NETWORK_INFO_ENTRY:
return "network_info_entry";
case MENU_ENUM_LABEL_DEBUG_INFO_ENTRY:
return "debug_info_entry";
case MENU_ENUM_LABEL_INPUT_USER_1_BINDS:

View File

@ -617,7 +617,7 @@ static int menu_displaylist_parse_network_info(menu_displaylist_info_t *info)
msg_hash_to_str(MSG_INTERFACE),
list->entries[k].name, list->entries[k].host);
menu_entries_add_enum(info->list, tmp, "",
MSG_UNKNOWN, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
MENU_ENUM_LABEL_NETWORK_INFO_ENTRY, MENU_SETTINGS_CORE_INFO_NONE, 0, 0);
}
net_ifinfo_free(list);

View File

@ -283,6 +283,7 @@ enum msg_hash_enums
MSG_NO_CONTENT_STARTING_DUMMY_CORE,
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY,
MENU_ENUM_LABEL_NETWORK_INFO_ENTRY,
MENU_ENUM_LABEL_CORE_INFO_ENTRY,
MENU_ENUM_LABEL_START_NET_RETROPAD,
MENU_ENUM_LABEL_VALUE_START_NET_RETROPAD,