From 0199fea1ef070ba77601740efa407ea49c5d2c38 Mon Sep 17 00:00:00 2001 From: gryf Date: Fri, 19 Aug 2022 20:59:23 +0200 Subject: [PATCH] Change shortcut for sorting files in MC. I don't really like how the default shortcut for sorting files changed in mc recently. This patch makes the previous behavior. --- app-misc/mc/sort_shortcut.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app-misc/mc/sort_shortcut.patch diff --git a/app-misc/mc/sort_shortcut.patch b/app-misc/mc/sort_shortcut.patch new file mode 100644 index 0000000..e2efe82 --- /dev/null +++ b/app-misc/mc/sort_shortcut.patch @@ -0,0 +1,20 @@ +--- mc-4.8.28_orig/src/filemanager/filemanager.c 2022-03-20 11:02:47.000000000 +0100 ++++ mc-4.8.28/src/filemanager/filemanager.c 2022-07-23 18:14:31.270726018 +0200 +@@ -199,7 +199,7 @@ + entries = + g_list_prepend (entries, + menu_entry_create (_("&Listing format..."), CK_SetupListingFormat)); +- entries = g_list_prepend (entries, menu_entry_create (_("S&ort order..."), CK_Sort)); ++ entries = g_list_prepend (entries, menu_entry_create (_("&Sort order..."), CK_Sort)); + entries = g_list_prepend (entries, menu_entry_create (_("&Filter..."), CK_Filter)); + #ifdef HAVE_CHARSET + entries = g_list_prepend (entries, menu_entry_create (_("&Encoding..."), CK_SelectCodepage)); +@@ -212,7 +212,7 @@ + entries = g_list_prepend (entries, menu_entry_create (_("S&hell link..."), CK_ConnectFish)); + #endif + #ifdef ENABLE_VFS_SFTP +- entries = g_list_prepend (entries, menu_entry_create (_("&SFTP link..."), CK_ConnectSftp)); ++ entries = g_list_prepend (entries, menu_entry_create (_("S&FTP link..."), CK_ConnectSftp)); + #endif + entries = g_list_prepend (entries, menu_entry_create (_("Paneli&ze"), CK_Panelize)); + entries = g_list_prepend (entries, menu_separator_create ());