Mercurial > geeqie.yaz
comparison src/rcfile.c @ 468:2df505c60459
Replace fullscreen.info and fullscreen.show_info options by:
image_overlay.common.enabled => to save last state to rc file
image_overlay.common.show_at_startup => overrides .common.enabled at startup
image_overlay.common.template_string => replace fullscreen.info
common is used since for now there is only one image overlay setup,
later specific setups may be added.
author | zas_ |
---|---|
date | Mon, 21 Apr 2008 20:01:22 +0000 |
parents | 7a69309b91c8 |
children | 3ad502287ff4 |
comparison
equal
deleted
inserted
replaced
467:6624477decc8 | 468:2df505c60459 |
---|---|
425 | 425 |
426 WRITE_INT(fullscreen.screen); | 426 WRITE_INT(fullscreen.screen); |
427 WRITE_BOOL(fullscreen.clean_flip); | 427 WRITE_BOOL(fullscreen.clean_flip); |
428 WRITE_BOOL(fullscreen.disable_saver); | 428 WRITE_BOOL(fullscreen.disable_saver); |
429 WRITE_BOOL(fullscreen.above); | 429 WRITE_BOOL(fullscreen.above); |
430 WRITE_BOOL(fullscreen.show_info); | 430 |
431 WRITE_CHAR(fullscreen.info); | 431 WRITE_SUBTITLE("Image Overlay Options"); |
432 WRITE_BOOL(image_overlay.common.enabled); | |
433 WRITE_BOOL(image_overlay.common.show_at_startup); | |
434 WRITE_CHAR(image_overlay.common.template_string); | |
432 | 435 |
433 WRITE_SUBTITLE("Slideshow Options"); | 436 WRITE_SUBTITLE("Slideshow Options"); |
434 | 437 |
435 WRITE_INT_UNIT(slideshow.delay, SLIDESHOW_SUBSECOND_PRECISION); | 438 WRITE_INT_UNIT(slideshow.delay, SLIDESHOW_SUBSECOND_PRECISION); |
436 WRITE_BOOL(slideshow.random); | 439 WRITE_BOOL(slideshow.random); |
701 /* fullscreen options */ | 704 /* fullscreen options */ |
702 READ_INT(fullscreen.screen); | 705 READ_INT(fullscreen.screen); |
703 READ_BOOL(fullscreen.clean_flip); | 706 READ_BOOL(fullscreen.clean_flip); |
704 READ_BOOL(fullscreen.disable_saver); | 707 READ_BOOL(fullscreen.disable_saver); |
705 READ_BOOL(fullscreen.above); | 708 READ_BOOL(fullscreen.above); |
706 READ_BOOL(fullscreen.show_info); | 709 |
707 READ_CHAR(fullscreen.info); | 710 /* image overlay */ |
711 READ_BOOL(image_overlay.common.enabled); | |
712 READ_BOOL(image_overlay.common.show_at_startup); | |
713 READ_CHAR(image_overlay.common.template_string); | |
708 | 714 |
709 /* slideshow options */ | 715 /* slideshow options */ |
710 | |
711 READ_INT_UNIT(slideshow.delay, SLIDESHOW_SUBSECOND_PRECISION); | 716 READ_INT_UNIT(slideshow.delay, SLIDESHOW_SUBSECOND_PRECISION); |
712 READ_BOOL(slideshow.random); | 717 READ_BOOL(slideshow.random); |
713 READ_BOOL(slideshow.repeat); | 718 READ_BOOL(slideshow.repeat); |
714 | 719 |
715 /* collection options */ | 720 /* collection options */ |