summaryrefslogtreecommitdiff
path: root/src/gui/gui-keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-keyboard.c')
-rw-r--r--src/gui/gui-keyboard.c82
1 files changed, 42 insertions, 40 deletions
diff --git a/src/gui/gui-keyboard.c b/src/gui/gui-keyboard.c
index e76f473f6..2d3431899 100644
--- a/src/gui/gui-keyboard.c
+++ b/src/gui/gui-keyboard.c
@@ -41,77 +41,79 @@ int gui_key_grab = 0;
int gui_key_grab_count = 0;
t_gui_key_function gui_key_functions[] =
-{ { "return", gui_input_return,
+{ { "return", gui_action_return,
N_("terminate line") },
- { "tab", gui_input_tab,
+ { "tab", gui_action_tab,
N_("complete word") },
- { "backspace", gui_input_backspace,
+ { "backspace", gui_action_backspace,
N_("delete previous char") },
- { "delete", gui_input_delete,
+ { "delete", gui_action_delete,
N_("delete next char") },
- { "delete_end_line", gui_input_delete_end_of_line,
+ { "delete_end_line", gui_action_delete_end_of_line,
N_("delete until end of line") },
- { "delete_beginning_line", gui_input_delete_begin_of_line,
+ { "delete_beginning_line", gui_action_delete_begin_of_line,
N_("delete until beginning of line") },
- { "delete_line", gui_input_delete_line,
+ { "delete_line", gui_action_delete_line,
N_("delete entire line") },
- { "delete_previous_word", gui_input_delete_previous_word,
+ { "delete_previous_word", gui_action_delete_previous_word,
N_("delete previous word") },
- { "delete_next_word", gui_input_delete_next_word,
+ { "delete_next_word", gui_action_delete_next_word,
N_("delete next word") },
- { "clipboard_paste", gui_input_clipboard_paste,
+ { "clipboard_paste", gui_action_clipboard_paste,
N_("paste current clipboard content") },
- { "transpose_chars", gui_input_transpose_chars,
+ { "transpose_chars", gui_action_transpose_chars,
N_("transpose chars") },
- { "home", gui_input_home,
+ { "home", gui_action_home,
N_("go to beginning of line") },
- { "end", gui_input_end,
+ { "end", gui_action_end,
N_("go to end of line") },
- { "left", gui_input_left,
+ { "left", gui_action_left,
N_("move one char left") },
- { "previous_word", gui_input_previous_word,
+ { "previous_word", gui_action_previous_word,
N_("move to previous word") },
- { "right", gui_input_right,
+ { "right", gui_action_right,
N_("move one char right") },
- { "next_word", gui_input_next_word,
+ { "next_word", gui_action_next_word,
N_("move to next word") },
- { "up", gui_input_up,
+ { "up", gui_action_up,
N_("call previous command in history") },
- { "up_global", gui_input_up_global,
+ { "up_global", gui_action_up_global,
N_("call previous command in global history") },
- { "down", gui_input_down,
+ { "down", gui_action_down,
N_("call next command in history") },
- { "down_global", gui_input_down_global,
+ { "down_global", gui_action_down_global,
N_("call next command in global history") },
- { "page_up", gui_input_page_up,
+ { "page_up", gui_action_page_up,
N_("scroll one page up") },
- { "page_down", gui_input_page_down,
+ { "page_down", gui_action_page_down,
N_("scroll one page down") },
- { "infobar_clear", gui_input_infobar_clear,
- N_("clear infobar") },
- { "nick_page_up", gui_input_nick_page_up,
- N_("scroll nicklist one page up") },
- { "nick_page_down", gui_input_nick_page_down,
- N_("scroll nicklist one page down") },
- { "nick_beginning", gui_input_nick_beginning,
+ { "nick_beginning", gui_action_nick_beginning,
N_("display beginning of nicklist") },
- { "nick_end", gui_input_nick_end,
+ { "nick_end", gui_action_nick_end,
N_("display end of nicklist") },
- { "refresh", gui_curses_resize_handler,
- N_("refresh screen") },
- { "jump_smart", gui_input_jump_smart,
+ { "nick_page_up", gui_action_nick_page_up,
+ N_("scroll nicklist one page up") },
+ { "nick_page_down", gui_action_nick_page_down,
+ N_("scroll nicklist one page down") },
+ { "jump_smart", gui_action_jump_smart,
N_("jump to buffer with activity") },
- { "jump_dcc", gui_input_jump_dcc,
+ { "jump_dcc", gui_action_jump_dcc,
N_("jump to DCC buffer") },
- { "jump_last_buffer", gui_input_jump_last_buffer,
+ { "jump_last_buffer", gui_action_jump_last_buffer,
N_("jump to last buffer") },
- { "jump_server", gui_input_jump_server,
+ { "jump_server", gui_action_jump_server,
N_("jump to server buffer") },
- { "jump_next_server", gui_input_jump_next_server,
+ { "jump_next_server", gui_action_jump_next_server,
N_("jump to next server") },
- { "hotlist_clear", gui_input_hotlist_clear,
+ { "switch_server", gui_action_switch_server,
+ N_("switch active server on servers buffer") },
+ { "hotlist_clear", gui_action_hotlist_clear,
N_("clear hotlist") },
- { "grab_key", gui_input_grab_key,
+ { "infobar_clear", gui_action_infobar_clear,
+ N_("clear infobar") },
+ { "refresh", gui_action_refresh_screen,
+ N_("refresh screen") },
+ { "grab_key", gui_action_grab_key,
N_("grab a key") },
{ NULL, NULL, NULL }
};