comparison src/rcfile.c @ 332:3c4bad726e98

Rename file filtering options.
author zas_
date Sat, 12 Apr 2008 09:12:37 +0000
parents 57a4ced53618
children 767b53cd9ab7
comparison
equal deleted inserted replaced
331:d8e285551598 332:3c4bad726e98
377 write_bool_option(ssi, "slideshow.random", options->slideshow.random); 377 write_bool_option(ssi, "slideshow.random", options->slideshow.random);
378 write_bool_option(ssi, "slideshow.repeat", options->slideshow.repeat); 378 write_bool_option(ssi, "slideshow.repeat", options->slideshow.repeat);
379 379
380 secure_fprintf(ssi, "\n##### Filtering Options #####\n\n"); 380 secure_fprintf(ssi, "\n##### Filtering Options #####\n\n");
381 381
382 write_bool_option(ssi, "show_dotfiles", options->show_dot_files); 382 write_bool_option(ssi, "file_filter.show_dot_files", options->file_filter.show_dot_files);
383 write_bool_option(ssi, "disable_filtering", options->file_filter_disable); 383 write_bool_option(ssi, "file_filter.disable", options->file_filter.disable);
384 384
385 filter_write_list(ssi); 385 filter_write_list(ssi);
386 386
387 sidecar_ext_write(ssi); 387 sidecar_ext_write(ssi);
388 388
685 options->slideshow.repeat = read_bool_option(f, option, 685 options->slideshow.repeat = read_bool_option(f, option,
686 "slideshow.repeat", value, options->slideshow.repeat); 686 "slideshow.repeat", value, options->slideshow.repeat);
687 687
688 /* filtering options */ 688 /* filtering options */
689 689
690 options->show_dot_files = read_bool_option(f, option, 690 options->file_filter.show_dot_files = read_bool_option(f, option,
691 "show_dotfiles", value, options->show_dot_files); 691 "file_filter.show_dot_files", value, options->file_filter.show_dot_files);
692 options->file_filter_disable = read_bool_option(f, option, 692 options->file_filter.disable = read_bool_option(f, option,
693 "disable_filtering", value, options->file_filter_disable); 693 "file_filter.disable", value, options->file_filter.disable);
694 694
695 if (strcasecmp(option, "filter_ext") == 0) 695 if (strcasecmp(option, "file_filter.ext") == 0)
696 { 696 {
697 filter_parse(value_all); 697 filter_parse(value_all);
698 } 698 }
699 699
700 if (strcasecmp(option, "sidecar_ext") == 0) 700 if (strcasecmp(option, "sidecar_ext") == 0)