From 9e7e7037f86dea4867af68e82f1de8b71d181c67 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 14 Jul 2001 05:37:27 +0000 Subject: [PATCH] * main.c (default_map) [HAVE_X]: Disable Alt-T. * cmd.c [HAVE_X]: Eliminate set_basic_panel_listing_to() and toggle_listing_cmd(). --- src/ChangeLog | 6 ++++++ src/cmd.c | 2 +- src/main.c | 3 ++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 00989467e..4113e6572 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2001-07-14 Pavel Roskin + + * main.c (default_map) [HAVE_X]: Disable Alt-T. + * cmd.c [HAVE_X]: Eliminate set_basic_panel_listing_to() and + toggle_listing_cmd(). + 2001-07-13 Pavel Roskin * utilunix.c (canonicalize_pathname): Don't handle PATH_SEP diff --git a/src/cmd.c b/src/cmd.c index abc590890..29af719ef 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -1553,7 +1553,6 @@ quick_view_cmd (void) change_panel (); set_display_type (MENU_PANEL_IDX, view_quick); } -#endif /* !HAVE_X */ /* Handle the tree internal listing modes switching */ static int @@ -1596,4 +1595,5 @@ toggle_listing_cmd (void) return; set_basic_panel_listing_to (current, list_full); } +#endif /* !HAVE_X */ diff --git a/src/main.c b/src/main.c index 51f58e0a9..f1a6cd6a4 100644 --- a/src/main.c +++ b/src/main.c @@ -1806,9 +1806,10 @@ static const key_map default_map [] = { /* Panel refresh */ { XCTRL('r'), reread_cmd }, +#ifndef HAVE_X + /* Toggle listing between long, user defined and full formats */ { ALT('t'), toggle_listing_cmd }, -#ifndef HAVE_X /* Swap panels */ { XCTRL('u'), swap_cmd },