File src/menus/menus.c changed (mode: 100644) (index 35c4c64f1..3e61356ff) |
... |
... |
menus_def_khandler(view_t *view, menu_data_t *ms, const wchar_t keys[]) |
993 |
993 |
} |
} |
994 |
994 |
|
|
995 |
995 |
int |
int |
996 |
|
menus_to_custom_view(menu_state_t *ms, view_t *view, int very) |
|
|
996 |
|
menus_to_custom_view(menu_state_t *ms, int very) |
997 |
997 |
{ |
{ |
998 |
998 |
int i; |
int i; |
999 |
999 |
char *current = NULL; |
char *current = NULL; |
|
1000 |
|
view_t *view = ms->view; |
1000 |
1001 |
const char *const rel_base = get_relative_path_base(ms->d, view); |
const char *const rel_base = get_relative_path_base(ms->d, view); |
1001 |
1002 |
|
|
1002 |
1003 |
flist_custom_start(view, ms->d->title); |
flist_custom_start(view, ms->d->title); |
File src/menus/menus.h changed (mode: 100644) (index 7c40a8635..db7334c0e) |
... |
... |
const menu_data_t * menus_get_stash(int index, int *current); |
143 |
143 |
|
|
144 |
144 |
/* Moves menu items into custom view. Returns zero on success, otherwise |
/* Moves menu items into custom view. Returns zero on success, otherwise |
145 |
145 |
* non-zero is returned. */ |
* non-zero is returned. */ |
146 |
|
int menus_to_custom_view(menu_state_t *ms, struct view_t *view, int very); |
|
|
146 |
|
int menus_to_custom_view(menu_state_t *ms, int very); |
147 |
147 |
|
|
148 |
148 |
/* Either makes a menu or custom view out of command output. Returns non-zero |
/* Either makes a menu or custom view out of command output. Returns non-zero |
149 |
149 |
* if status bar message should be saved. */ |
* if status bar message should be saved. */ |
File src/modes/menu.c changed (mode: 100644) (index 914636dbc..4bed2d586) |
... |
... |
cmd_b(key_info_t key_info, keys_info_t *keys_info) |
736 |
736 |
static void |
static void |
737 |
737 |
dump_into_custom_view(int very) |
dump_into_custom_view(int very) |
738 |
738 |
{ |
{ |
739 |
|
if(menus_to_custom_view(menu->state, view, very) != 0) |
|
|
739 |
|
if(menus_to_custom_view(menu->state, very) != 0) |
740 |
740 |
{ |
{ |
741 |
741 |
show_error_msg("Menu transformation", |
show_error_msg("Menu transformation", |
742 |
742 |
"No valid paths discovered in menu content"); |
"No valid paths discovered in menu content"); |