Mercurial > geeqie.yaz
comparison src/rcfile.c @ 145:8be2cc687304
fixed grouping sidecar files and made it configurable via config file
(no gui yet)
author | nadvornik |
---|---|
date | Tue, 20 Nov 2007 22:28:40 +0000 |
parents | 55166d93498d |
children | 9a56e3d13e67 |
comparison
equal
deleted
inserted
replaced
144:2310066cc55a | 145:8be2cc687304 |
---|---|
302 fprintf(f,"\n##### Filtering Options #####\n\n"); | 302 fprintf(f,"\n##### Filtering Options #####\n\n"); |
303 | 303 |
304 write_bool_option(f, "show_dotfiles", show_dot_files); | 304 write_bool_option(f, "show_dotfiles", show_dot_files); |
305 write_bool_option(f, "disable_filtering", file_filter_disable); | 305 write_bool_option(f, "disable_filtering", file_filter_disable); |
306 filter_write_list(f); | 306 filter_write_list(f); |
307 | |
308 sidecar_ext_write(f); | |
307 | 309 |
308 fprintf(f,"\n##### Color Profiles #####\n\n"); | 310 fprintf(f,"\n##### Color Profiles #####\n\n"); |
309 | 311 |
310 #ifndef HAVE_LCMS | 312 #ifndef HAVE_LCMS |
311 fprintf(f,"# NOTICE: GQview was not built with support for color profiles,\n" | 313 fprintf(f,"# NOTICE: GQview was not built with support for color profiles,\n" |
579 if (strcasecmp(option, "filter_ext") == 0) | 581 if (strcasecmp(option, "filter_ext") == 0) |
580 { | 582 { |
581 filter_parse(value_all); | 583 filter_parse(value_all); |
582 } | 584 } |
583 | 585 |
586 if (strcasecmp(option, "sidecar_ext") == 0) | |
587 { | |
588 sidecar_ext_parse(value_all); | |
589 } | |
590 | |
584 /* Color Profiles */ | 591 /* Color Profiles */ |
585 | 592 |
586 color_profile_enabled = read_bool_option(f, option, | 593 color_profile_enabled = read_bool_option(f, option, |
587 "color_profile_enabled", value, color_profile_enabled); | 594 "color_profile_enabled", value, color_profile_enabled); |
588 color_profile_use_image = read_bool_option(f, option, | 595 color_profile_use_image = read_bool_option(f, option, |