mirror of
https://github.com/gryf/gentoo-patches.git
synced 2025-12-17 21:50:18 +01:00
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.
This commit is contained in:
20
app-misc/mc/sort_shortcut.patch
Normal file
20
app-misc/mc/sort_shortcut.patch
Normal file
@@ -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 ());
|
||||||
Reference in New Issue
Block a user