(Network Information) Show title bar

This commit is contained in:
twinaphex 2016-03-03 07:27:47 +01:00
parent 869cb8a1be
commit e663a69c0b

View File

@ -467,6 +467,13 @@ static int action_get_system_information_list(const char *path, const char *labe
return 0;
}
static int action_get_network_information_list(const char *path, const char *label,
unsigned menu_type, char *s, size_t len)
{
sanitize_to_string(s, menu_hash_to_str(MENU_LABEL_VALUE_NETWORK_INFORMATION), len);
return 0;
}
static int action_get_settings_list(const char *path, const char *label,
unsigned menu_type, char *s, size_t len)
{
@ -800,6 +807,9 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
case MENU_LABEL_SYSTEM_INFORMATION:
BIND_ACTION_GET_TITLE(cbs, action_get_system_information_list);
break;
case MENU_LABEL_NETWORK_INFORMATION:
BIND_ACTION_GET_TITLE(cbs, action_get_network_information_list);
break;
case MENU_LABEL_CURSOR_MANAGER_LIST:
BIND_ACTION_GET_TITLE(cbs, action_get_cursor_manager_list);
break;