Ticket #2488: mc-find-dialog-tab-order1.patch

File mc-find-dialog-tab-order1.patch, 1.3 KB (added by curtis, 14 years ago)

group all content checkboxes

  • src/filemanager/find.c

    diff --git a/src/filemanager/find.c b/src/filemanager/find.c
    index b28f8f7..5e3deba 100644
    a b find_parameters (char **start_dir, char **pattern, char **content) 
    574574    widget_disable (content_regexp_cbox->widget, disable); 
    575575    add_widget (find_dlg, content_regexp_cbox); 
    576576 
     577    content_use_cbox = 
     578        check_new (cbox_position--, FIND_X / 2 + 1, options.content_use, content_use_label); 
     579    add_widget (find_dlg, content_use_cbox); 
     580 
    577581    cbox_position = FIND_Y - 6; 
    578582 
    579583    skip_hidden_cbox = check_new (cbox_position--, 3, options.skip_hidden, file_skip_hidden_label); 
    find_parameters (char **start_dir, char **pattern, char **content) 
    594598    recursively_cbox = check_new (cbox_position, 3, options.find_recurs, file_recurs_label); 
    595599    add_widget (find_dlg, recursively_cbox); 
    596600 
    597     /* This checkbox is located in the second column */ 
    598     content_use_cbox = 
    599         check_new (cbox_position, FIND_X / 2 + 1, options.content_use, content_use_label); 
    600     add_widget (find_dlg, content_use_cbox); 
    601  
    602601    in_with = 
    603602        input_new (6, FIND_X / 2 + 1, input_get_default_colors (), FIND_X / 2 - 4, INPUT_LAST_TEXT, 
    604603                   MC_HISTORY_SHARED_SEARCH, INPUT_COMPLETE_DEFAULT);