Ticket #2171: mc-4.7.0.5-popup-menu-uses-dialog-colors.patch

File mc-4.7.0.5-popup-menu-uses-dialog-colors.patch, 460 bytes (added by egmont, 14 years ago)

make popup menus use dialog colors rather than menu colors

  • src/wtools.c

    diff -ur mc-4.7.0.5.orig/src/wtools.c mc-4.7.0.5/src/wtools.c
    old new  
    5151{ 
    5252    const int listbox_colors[DLG_COLOR_NUM] = 
    5353    { 
    54         MENU_ENTRY_COLOR, 
    55         MENU_SELECTED_COLOR, 
    56         MENU_HOT_COLOR, 
    57         MENU_HOTSEL_COLOR, 
     54        COLOR_NORMAL, 
     55        COLOR_FOCUS, 
     56        COLOR_HOT_NORMAL, 
     57        COLOR_HOT_FOCUS, 
    5858    }; 
    5959 
    6060    const int space = 4;