From 069eaca77868a9c29910d46f3bc74bb3d1fb930c Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sun, 15 Jul 2001 03:50:23 +0000 Subject: [PATCH] * screen.c (panel_keymap) [HAVE_X]: Disable Alt-H - it's not implemented properly for GNOME. * main.c (directory_history_list) [HAVE_X]: Disable. --- src/ChangeLog | 4 ++++ src/main.c | 2 ++ src/screen.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 226286b39..b10c86281 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2001-07-14 Pavel Roskin + * screen.c (panel_keymap) [HAVE_X]: Disable Alt-H - it's not + implemented properly for GNOME. + * main.c (directory_history_list) [HAVE_X]: Disable. + * panelize.c [HAVE_X]: Disable unused code. * main.c [HAVE_X]: Disable Ctrl-X sequences. diff --git a/src/main.c b/src/main.c index 52f052800..1495e9d0c 100644 --- a/src/main.c +++ b/src/main.c @@ -1105,6 +1105,7 @@ directory_history_prev (WPanel * panel) panel_update_marks (panel); } +#ifndef HAVE_X void directory_history_list (WPanel * panel) { @@ -1123,6 +1124,7 @@ directory_history_list (WPanel * panel) } } } +#endif /* !HAVE_X */ #ifdef HAVE_SUBSHELL_SUPPORT int diff --git a/src/screen.c b/src/screen.c index a73931b28..fa6062e0a 100644 --- a/src/screen.c +++ b/src/screen.c @@ -2292,12 +2292,12 @@ static const key_map panel_keymap [] = { #ifndef HAVE_X { ALT('o'), chdir_other_panel }, { ALT('l'), chdir_to_readlink }, + { ALT('H'), directory_history_list }, #endif /* HAVE_X */ { KEY_F(13), view_simple_cmd }, { KEY_F(14), edit_cmd_new }, { ALT('y'), directory_history_prev }, { ALT('u'), directory_history_next }, - { ALT('H'), directory_history_list }, { ALT('+'), select_cmd_panel }, { KEY_KP_ADD, select_cmd_panel }, { ALT('\\'), unselect_cmd_panel },