Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions lib/keybind.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,6 @@ static name_keymap_t command_names[] = {
ADD_KEYMAP_NAME (Link),
ADD_KEYMAP_NAME (SetupListingFormat),
ADD_KEYMAP_NAME (PanelListing),
#ifdef LISTMODE_EDITOR
ADD_KEYMAP_NAME (ListMode),
#endif
ADD_KEYMAP_NAME (OptionsPanel),
ADD_KEYMAP_NAME (CdQuick),
ADD_KEYMAP_NAME (PanelQuickView),
Expand Down
3 changes: 0 additions & 3 deletions src/filemanager/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ libmcfilemanager_la_SOURCES = \
tree.c tree.h \
treestore.c treestore.h

# Unmaintained, unsupported, etc
# listmode.c listmode.h

AM_CPPFLAGS = -I$(top_srcdir) $(GLIB_CFLAGS)

if ENABLE_EXT2FS_ATTR
Expand Down
33 changes: 0 additions & 33 deletions src/filemanager/filemanager.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,30 +172,6 @@ treebox_cmd (void)

/* --------------------------------------------------------------------------------------------- */

#ifdef LISTMODE_EDITOR
static void
listmode_cmd (void)
{
char *newmode;

if (get_current_type () != view_listing)
return;

newmode = listmode_edit (current_panel->user_format);
if (!newmode)
return;

g_free (current_panel->user_format);
current_panel->list_format = list_user;
current_panel->user_format = newmode;
set_panel_formats (current_panel);

do_refresh ();
}
#endif

/* --------------------------------------------------------------------------------------------- */

static GList *
create_panel_menu (void)
{
Expand Down Expand Up @@ -302,10 +278,6 @@ create_command_menu (void)
#endif
entries = g_list_prepend (entries, menu_entry_new (_ ("Screen lis&t"), CK_ScreenList));
entries = g_list_prepend (entries, menu_separator_new ());
#ifdef LISTMODE_EDITOR
entries = g_list_prepend (entries, menu_entry_new (_ ("&Listing format edit"), CK_ListMode));
entries = g_list_prepend (entries, menu_separator_new ());
#endif
entries = g_list_prepend (entries,
menu_entry_new (_ ("Edit &extension file"), CK_EditExtensionsFile));
entries = g_list_prepend (entries, menu_entry_new (_ ("Edit &menu file"), CK_EditUserMenu));
Expand Down Expand Up @@ -1270,11 +1242,6 @@ midnight_execute_cmd (Widget *sender, long command)
case CK_PanelListing:
listing_cmd ();
break;
#ifdef LISTMODE_EDITOR
case CK_ListMode:
listmode_cmd ();
break;
#endif
case CK_Menu:
menu_cmd ();
break;
Expand Down
Loading