Ticket #1482: mc-4.7.0-pre1.edit_menus.patch

File mc-4.7.0-pre1.edit_menus.patch, 2.0 KB (added by angel_il, 15 years ago)
  • edit/editmenu.c

    diff -Naur mc-4.7.0-pre1~/edit/editmenu.c mc-4.7.0-pre1/edit/editmenu.c
    old new  
    463463{ 
    464464    {' ', N_("&Search...         F7"), NULL_HOTKEY, menu_search_cmd}, 
    465465    {' ', N_("Search &again     F17"), NULL_HOTKEY, menu_search_again_cmd}, 
    466     {' ', N_("&Replace...        F4"), NULL_HOTKEY, menu_replace_cmd} 
     466    {' ', N_("&Replace...        F4"), NULL_HOTKEY, menu_replace_cmd}, 
     467    {' ', "", NULL_HOTKEY, 0}, 
     468    {' ', N_("Find decl     A-Enter"), NULL_HOTKEY, menu_find_declare}, 
     469    {' ', N_("Back from decl    M--"), NULL_HOTKEY, menu_declare_back}, 
     470    {' ', N_("Forward to decl   M-+"), NULL_HOTKEY, menu_declare_forward} 
    467471}; 
    468472 
    469473#define SearReplMenuEmacs SearReplMenu 
     
    474478    {' ', N_("Toggle li&ne state        M-n"), NULL_HOTKEY, menu_toggle_line_state}, 
    475479    {' ', N_("Go to matching &bracket   M-b"), NULL_HOTKEY, menu_goto_bracket}, 
    476480    {' ', "", NULL_HOTKEY, 0}, 
    477     {' ', N_("Find declaration      A-Enter"), NULL_HOTKEY, menu_find_declare}, 
    478     {' ', N_("Back from declaration     M--"), NULL_HOTKEY, menu_declare_back}, 
    479     {' ', N_("Forward to declaration    M-+"), NULL_HOTKEY, menu_declare_forward}, 
    480 #ifdef HAVE_CHARSET 
    481     {' ', "", NULL_HOTKEY, 0}, 
    482     {' ', N_("Encod&ing...             C-t"), NULL_HOTKEY, menu_select_codepage_cmd}, 
    483 #endif 
    484     {' ', "", NULL_HOTKEY, 0}, 
    485481    {' ', N_("Insert &literal...       C-q"), NULL_HOTKEY, menu_lit_cmd}, 
    486482    {' ', "", NULL_HOTKEY, 0}, 
    487483    {' ', N_("&Refresh screen          C-l"), NULL_HOTKEY, menu_refresh_cmd}, 
     
    535531    {' ', "", NULL_HOTKEY, 0}, 
    536532    {' ', N_("S&yntax file"), NULL_HOTKEY, menu_edit_syntax_file_cmd}, 
    537533    {' ', N_("&Menu file"), NULL_HOTKEY, menu_edit_menu_file_cmd}, 
     534#ifdef HAVE_CHARSET 
     535    {' ', "", NULL_HOTKEY, 0}, 
     536    {' ', N_("Encod&ing...             C-t"), NULL_HOTKEY, menu_select_codepage_cmd}, 
     537#endif 
    538538    {' ', "", NULL_HOTKEY, 0}, 
    539539    {' ', N_("Save setu&p"), NULL_HOTKEY, save_setup_cmd} 
    540540};