Ticket #1742: reverse_files_option.patch

File reverse_files_option.patch, 660 bytes (added by bilbo, 15 years ago)

Patch to add option

  • src/option.c

    diff --git a/src/option.c b/src/option.c
    index 176a2cb..5ee9f2c 100644
    a b static struct { 
    7979   {N_("show &Hidden files"), &show_dot_files,    toggle_show_hidden,    0 }, 
    8080   {N_("show &Backup files"), &show_backups,      toggle_show_backup,    0 }, 
    8181   {N_("Use SI si&ze units"), &kilobyte_si,       toggle_kilobyte_si,    0 }, 
     82   {N_("Reverse files only"), &reverse_files_only,TOGGLE_VARIABLE,       0 }, 
    8283   { 0, 0, 0, 0 } 
    8384}; 
    8485 
    8586/* Make sure this corresponds to the check_options structure */ 
    8687#define OTHER_OPTIONS 13 
    87 #define PANEL_OPTIONS 7 
     88#define PANEL_OPTIONS 8 
    8889 
    8990static WRadio *pause_radio; 
    9091