mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[menu] enum pass_uri_type -> pass_uri_type_T
This commit is contained in:
parent
58c07356b9
commit
4a4997c57b
@ -819,7 +819,7 @@ pass_uri_to_command(struct session *ses, struct document_view *doc_view,
|
|||||||
{
|
{
|
||||||
LIST_OF(struct option) *tree = get_opt_tree("document.uri_passing",
|
LIST_OF(struct option) *tree = get_opt_tree("document.uri_passing",
|
||||||
NULL);
|
NULL);
|
||||||
enum pass_uri_type type = which_type;
|
pass_uri_type_T type = which_type;
|
||||||
struct menu_item *items;
|
struct menu_item *items;
|
||||||
struct option *option, *sub;
|
struct option *option, *sub;
|
||||||
struct uri *uri;
|
struct uri *uri;
|
||||||
@ -913,7 +913,7 @@ pass_uri_to_command(struct session *ses, struct document_view *doc_view,
|
|||||||
/* The caller provides the text of the menu item, so that it can
|
/* The caller provides the text of the menu item, so that it can
|
||||||
* choose an available accelerator key. */
|
* choose an available accelerator key. */
|
||||||
void
|
void
|
||||||
add_uri_command_to_menu(struct menu_item **mi, enum pass_uri_type type,
|
add_uri_command_to_menu(struct menu_item **mi, pass_uri_type_T type,
|
||||||
char *text)
|
char *text)
|
||||||
{
|
{
|
||||||
LIST_OF(struct option) *tree = get_opt_tree("document.uri_passing",
|
LIST_OF(struct option) *tree = get_opt_tree("document.uri_passing",
|
||||||
|
@ -54,8 +54,10 @@ enum pass_uri_type {
|
|||||||
PASS_URI_TAB,
|
PASS_URI_TAB,
|
||||||
};
|
};
|
||||||
|
|
||||||
void add_uri_command_to_menu(struct menu_item **mi, enum pass_uri_type type, char *text);
|
typedef int pass_uri_type_T;
|
||||||
enum frame_event_status pass_uri_to_command(struct session *ses, struct document_view *doc_view, int /* enum pass_uri_type */ type);
|
|
||||||
|
void add_uri_command_to_menu(struct menu_item **mi, pass_uri_type_T type, char *text);
|
||||||
|
enum frame_event_status pass_uri_to_command(struct session *ses, struct document_view *doc_view, int /* pass_uri_type_T */ type);
|
||||||
|
|
||||||
void
|
void
|
||||||
auto_complete_file(struct terminal *term, int no_elevator, char *path,
|
auto_complete_file(struct terminal *term, int no_elevator, char *path,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user