Mercurial > geeqie.yaz
comparison src/rcfile.c @ 326:509b84801d66
Rename slideshow options.
author | zas_ |
---|---|
date | Sat, 12 Apr 2008 07:46:01 +0000 |
parents | d344bcf37618 |
children | 049d6b00cc14 |
comparison
equal
deleted
inserted
replaced
325:a0fcd4934266 | 326:509b84801d66 |
---|---|
370 | 370 |
371 write_int_option(ssi, "custom_similarity_threshold", options->dupe_custom_threshold); | 371 write_int_option(ssi, "custom_similarity_threshold", options->dupe_custom_threshold); |
372 | 372 |
373 secure_fprintf(ssi, "\n##### Slideshow Options #####\n\n"); | 373 secure_fprintf(ssi, "\n##### Slideshow Options #####\n\n"); |
374 | 374 |
375 write_int_unit_option(ssi, "slideshow_delay", options->slideshow_delay, SLIDESHOW_SUBSECOND_PRECISION); | 375 write_int_unit_option(ssi, "slideshow.delay", options->slideshow.delay, SLIDESHOW_SUBSECOND_PRECISION); |
376 | 376 |
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, "show_dotfiles", options->show_dot_files); |
383 write_bool_option(ssi, "disable_filtering", options->file_filter_disable); | 383 write_bool_option(ssi, "disable_filtering", options->file_filter_disable); |
676 options->dupe_custom_threshold = read_int_option(f, option, | 676 options->dupe_custom_threshold = read_int_option(f, option, |
677 "custom_similarity_threshold", value, options->dupe_custom_threshold); | 677 "custom_similarity_threshold", value, options->dupe_custom_threshold); |
678 | 678 |
679 /* slideshow options */ | 679 /* slideshow options */ |
680 | 680 |
681 options->slideshow_delay = read_int_unit_option(f, option, | 681 options->slideshow.delay = read_int_unit_option(f, option, |
682 "slideshow_delay", value, options->slideshow_delay, SLIDESHOW_SUBSECOND_PRECISION); | 682 "slideshow.delay", value, options->slideshow.delay, SLIDESHOW_SUBSECOND_PRECISION); |
683 options->slideshow_random = read_bool_option(f, option, | 683 options->slideshow.random = read_bool_option(f, option, |
684 "slideshow_random", value, options->slideshow_random); | 684 "slideshow.random", value, options->slideshow.random); |
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->show_dot_files = read_bool_option(f, option, |
691 "show_dotfiles", value, options->show_dot_files); | 691 "show_dotfiles", value, options->show_dot_files); |