Add hotkey CTRL+t for change codesets of panels

This commit is contained in:
Slava Zanko 2009-04-20 16:05:51 +03:00
parent 45abfa28a4
commit b019ea7f9c
2 changed files with 4 additions and 3 deletions

View File

@ -825,7 +825,7 @@ static menu_entry LeftMenu[] = {
{' ', "", NULL_HOTKEY, 0}, {' ', "", NULL_HOTKEY, 0},
{' ', N_("&Filter..."), NULL_HOTKEY, filter_cmd}, {' ', N_("&Filter..."), NULL_HOTKEY, filter_cmd},
{' ', "",NULL_HOTKEY, 0}, {' ', "",NULL_HOTKEY, 0},
{' ', N_("&Encoding..."), NULL_HOTKEY, encoding_cmd}, {' ', N_("&Encoding... C-t"), 'C', encoding_cmd},
#ifdef USE_NETCODE #ifdef USE_NETCODE
{' ', "", NULL_HOTKEY, 0}, {' ', "", NULL_HOTKEY, 0},
#ifdef WITH_MCFS #ifdef WITH_MCFS
@ -851,7 +851,7 @@ static menu_entry RightMenu[] = {
{' ', "", NULL_HOTKEY, 0}, {' ', "", NULL_HOTKEY, 0},
{' ', N_("&Filter..."), NULL_HOTKEY, filter_cmd}, {' ', N_("&Filter..."), NULL_HOTKEY, filter_cmd},
{' ', "",NULL_HOTKEY, 0}, {' ', "",NULL_HOTKEY, 0},
{' ', N_("&Encoding..."), NULL_HOTKEY, encoding_cmd}, {' ', N_("&Encoding... C-t"), 'C', encoding_cmd},
#ifdef USE_NETCODE #ifdef USE_NETCODE
{' ', "", NULL_HOTKEY, 0}, {' ', "", NULL_HOTKEY, 0},
#ifdef WITH_MCFS #ifdef WITH_MCFS

View File

@ -2196,7 +2196,8 @@ static const panel_key_map panel_keymap [] = {
{ XCTRL('n'), move_down }, /* C-n like emacs */ { XCTRL('n'), move_down }, /* C-n like emacs */
{ XCTRL('s'), start_search }, /* C-s like emacs */ { XCTRL('s'), start_search }, /* C-s like emacs */
{ ALT('s'), start_search }, /* M-s not like emacs */ { ALT('s'), start_search }, /* M-s not like emacs */
{ XCTRL('t'), mark_file }, /* { XCTRL('t'), mark_file },*/
{ XCTRL('t'), encoding_cmd },
{ ALT('o'), chdir_other_panel }, { ALT('o'), chdir_other_panel },
{ ALT('i'), sync_other_panel }, { ALT('i'), sync_other_panel },
{ ALT('l'), chdir_to_readlink }, { ALT('l'), chdir_to_readlink },