Rename menu_list_get_last to menu_entries_get_last
This commit is contained in:
parent
a6bec4f10b
commit
69b95728bf
|
@ -912,7 +912,7 @@ static int generic_action_ok_file_load(const char *path,
|
||||||
|
|
||||||
(void)id;
|
(void)id;
|
||||||
|
|
||||||
menu_list_get_last(menu_stack, &menu_path, NULL, NULL, NULL);
|
menu_entries_get_last(menu_stack, &menu_path, NULL, NULL, NULL);
|
||||||
|
|
||||||
fill_pathname_join(new_path, menu_path, path,
|
fill_pathname_join(new_path, menu_path, path,
|
||||||
sizeof(new_path));
|
sizeof(new_path));
|
||||||
|
@ -962,7 +962,7 @@ static int action_ok_file_load(const char *path,
|
||||||
menu_handle_t *menu = menu_driver_get_ptr();
|
menu_handle_t *menu = menu_driver_get_ptr();
|
||||||
file_list_t *menu_stack = menu_entries_get_menu_stack_ptr();
|
file_list_t *menu_stack = menu_entries_get_menu_stack_ptr();
|
||||||
|
|
||||||
menu_list_get_last(menu_stack, &menu_path, &menu_label, NULL, NULL);
|
menu_entries_get_last(menu_stack, &menu_path, &menu_label, NULL, NULL);
|
||||||
|
|
||||||
strlcpy(menu_path_new, menu_path, sizeof(menu_path_new));
|
strlcpy(menu_path_new, menu_path, sizeof(menu_path_new));
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ void menu_entries_get_at_offset(const file_list_t *list, size_t idx,
|
||||||
file_list_get_alt_at_offset(list, idx, alt);
|
file_list_get_alt_at_offset(list, idx, alt);
|
||||||
}
|
}
|
||||||
|
|
||||||
void menu_list_get_last(const file_list_t *list,
|
void menu_entries_get_last(const file_list_t *list,
|
||||||
const char **path, const char **label,
|
const char **path, const char **label,
|
||||||
unsigned *file_type, size_t *entry_idx)
|
unsigned *file_type, size_t *entry_idx)
|
||||||
{
|
{
|
||||||
|
@ -174,7 +174,7 @@ static void menu_list_flush_stack(menu_list_t *list,
|
||||||
return;
|
return;
|
||||||
|
|
||||||
menu_entries_set_refresh(false);
|
menu_entries_set_refresh(false);
|
||||||
menu_list_get_last(list->menu_stack,
|
menu_entries_get_last(list->menu_stack,
|
||||||
&path, &label, &type, &entry_idx);
|
&path, &label, &type, &entry_idx);
|
||||||
|
|
||||||
while (menu_list_flush_stack_type(
|
while (menu_list_flush_stack_type(
|
||||||
|
@ -189,7 +189,7 @@ static void menu_list_flush_stack(menu_list_t *list,
|
||||||
|
|
||||||
menu_navigation_ctl(MENU_NAVIGATION_CTL_SET_SELECTION, &new_selection_ptr);
|
menu_navigation_ctl(MENU_NAVIGATION_CTL_SET_SELECTION, &new_selection_ptr);
|
||||||
|
|
||||||
menu_list_get_last(list->menu_stack,
|
menu_entries_get_last(list->menu_stack,
|
||||||
&path, &label, &type, &entry_idx);
|
&path, &label, &type, &entry_idx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -611,7 +611,7 @@ void menu_entries_get_last_stack(const char **path, const char **label,
|
||||||
{
|
{
|
||||||
menu_list_t *menu_list = menu_list_get_ptr();
|
menu_list_t *menu_list = menu_list_get_ptr();
|
||||||
if (menu_list)
|
if (menu_list)
|
||||||
menu_list_get_last(menu_list->menu_stack, path, label, file_type, entry_idx);
|
menu_entries_get_last(menu_list->menu_stack, path, label, file_type, entry_idx);
|
||||||
}
|
}
|
||||||
|
|
||||||
void menu_entries_flush_stack(const char *needle, unsigned final_type)
|
void menu_entries_flush_stack(const char *needle, unsigned final_type)
|
||||||
|
|
|
@ -159,7 +159,7 @@ void *menu_list_get_userdata_at_offset(const file_list_t *list, size_t idx);
|
||||||
|
|
||||||
menu_file_list_cbs_t *menu_list_get_actiondata_at_offset(const file_list_t *list, size_t idx);
|
menu_file_list_cbs_t *menu_list_get_actiondata_at_offset(const file_list_t *list, size_t idx);
|
||||||
|
|
||||||
void menu_list_get_last(const file_list_t *list,
|
void menu_entries_get_last(const file_list_t *list,
|
||||||
const char **path, const char **label,
|
const char **path, const char **label,
|
||||||
unsigned *file_type, size_t *entry_idx);
|
unsigned *file_type, size_t *entry_idx);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue