Mercurial > geeqie.yaz
comparison src/rcfile.c @ 322:d344bcf37618
Rationalize fullscreen options naming.
author | zas_ |
---|---|
date | Fri, 11 Apr 2008 23:32:22 +0000 |
parents | c74af1cbd61a |
children | 509b84801d66 |
comparison
equal
deleted
inserted
replaced
321:20d9b3cd7434 | 322:d344bcf37618 |
---|---|
358 | 358 |
359 write_bool_option(ssi, "user_specified_window_background", options->user_specified_window_background); | 359 write_bool_option(ssi, "user_specified_window_background", options->user_specified_window_background); |
360 write_color_option(ssi, "window_background_color", &options->window_background_color); | 360 write_color_option(ssi, "window_background_color", &options->window_background_color); |
361 secure_fputc(ssi, '\n'); | 361 secure_fputc(ssi, '\n'); |
362 | 362 |
363 write_int_option(ssi, "fullscreen_screen", options->fullscreen_screen); | 363 write_int_option(ssi, "fullscreen.screen", options->fullscreen.screen); |
364 write_bool_option(ssi, "fullscreen_clean_flip", options->fullscreen_clean_flip); | 364 write_bool_option(ssi, "fullscreen.clean_flip", options->fullscreen.clean_flip); |
365 write_bool_option(ssi, "fullscreen_disable_saver", options->fullscreen_disable_saver); | 365 write_bool_option(ssi, "fullscreen.disable_saver", options->fullscreen.disable_saver); |
366 write_bool_option(ssi, "fullscreen_above", options->fullscreen_above); | 366 write_bool_option(ssi, "fullscreen.above", options->fullscreen.above); |
367 write_bool_option(ssi, "show_fullscreen_info", options->show_fullscreen_info); | 367 write_bool_option(ssi, "fullscreen.show_info", options->fullscreen.show_info); |
368 write_char_option(ssi, "fullscreen_info", options->fullscreen_info); | 368 write_char_option(ssi, "fullscreen.info", options->fullscreen.info); |
369 secure_fputc(ssi, '\n'); | 369 secure_fputc(ssi, '\n'); |
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"); |
658 options->user_specified_window_background = read_bool_option(f, option, | 658 options->user_specified_window_background = read_bool_option(f, option, |
659 "user_specified_window_background", value, options->user_specified_window_background); | 659 "user_specified_window_background", value, options->user_specified_window_background); |
660 read_color_option(f, option, | 660 read_color_option(f, option, |
661 "window_background_color", value, &options->window_background_color); | 661 "window_background_color", value, &options->window_background_color); |
662 | 662 |
663 options->fullscreen_screen = read_int_option(f, option, | 663 options->fullscreen.screen = read_int_option(f, option, |
664 "fullscreen_screen", value, options->fullscreen_screen); | 664 "fullscreen.screen", value, options->fullscreen.screen); |
665 options->fullscreen_clean_flip = read_bool_option(f, option, | 665 options->fullscreen.clean_flip = read_bool_option(f, option, |
666 "fullscreen_clean_flip", value, options->fullscreen_clean_flip); | 666 "fullscreen.clean_flip", value, options->fullscreen.clean_flip); |
667 options->fullscreen_disable_saver = read_bool_option(f, option, | 667 options->fullscreen.disable_saver = read_bool_option(f, option, |
668 "fullscreen_disable_saver", value, options->fullscreen_disable_saver); | 668 "fullscreen.disable_saver", value, options->fullscreen.disable_saver); |
669 options->fullscreen_above = read_bool_option(f, option, | 669 options->fullscreen.above = read_bool_option(f, option, |
670 "fullscreen_above", value, options->fullscreen_above); | 670 "fullscreen.above", value, options->fullscreen.above); |
671 options->show_fullscreen_info = read_bool_option(f, option, | 671 options->fullscreen.show_info = read_bool_option(f, option, |
672 "show_fullscreen_info", value, options->show_fullscreen_info); | 672 "fullscreen.show_info", value, options->fullscreen.show_info); |
673 options->fullscreen_info = read_char_option(f, option, | 673 options->fullscreen.info = read_char_option(f, option, |
674 "fullscreen_info", value_all, options->fullscreen_info); | 674 "fullscreen.info", value_all, options->fullscreen.info); |
675 | 675 |
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 */ |