comparison src/rcfile.c @ 1540:286ed7c6cae6

Allow to configure case handling of keywords Sometimes I use just different case for keywords. This should be chooseable.
author mow
date Sat, 11 Apr 2009 19:51:03 +0000
parents 68b73d524ca3
children b5608391f479
comparison
equal deleted inserted replaced
1539:4df9f4712d1a 1540:286ed7c6cae6
435 WRITE_NL(); WRITE_BOOL(*options, metadata.confirm_write); 435 WRITE_NL(); WRITE_BOOL(*options, metadata.confirm_write);
436 WRITE_NL(); WRITE_INT(*options, metadata.confirm_timeout); 436 WRITE_NL(); WRITE_INT(*options, metadata.confirm_timeout);
437 WRITE_NL(); WRITE_BOOL(*options, metadata.confirm_after_timeout); 437 WRITE_NL(); WRITE_BOOL(*options, metadata.confirm_after_timeout);
438 WRITE_NL(); WRITE_BOOL(*options, metadata.confirm_on_image_change); 438 WRITE_NL(); WRITE_BOOL(*options, metadata.confirm_on_image_change);
439 WRITE_NL(); WRITE_BOOL(*options, metadata.confirm_on_dir_change); 439 WRITE_NL(); WRITE_BOOL(*options, metadata.confirm_on_dir_change);
440 WRITE_NL(); WRITE_BOOL(*options, metadata.tags_case_sensitive);
440 441
441 } 442 }
442 443
443 static void write_color_profile(GString *outstr, gint indent) 444 static void write_color_profile(GString *outstr, gint indent)
444 { 445 {
693 if (READ_BOOL(*options, metadata.confirm_write)) continue; 694 if (READ_BOOL(*options, metadata.confirm_write)) continue;
694 if (READ_BOOL(*options, metadata.confirm_after_timeout)) continue; 695 if (READ_BOOL(*options, metadata.confirm_after_timeout)) continue;
695 if (READ_INT(*options, metadata.confirm_timeout)) continue; 696 if (READ_INT(*options, metadata.confirm_timeout)) continue;
696 if (READ_BOOL(*options, metadata.confirm_on_image_change)) continue; 697 if (READ_BOOL(*options, metadata.confirm_on_image_change)) continue;
697 if (READ_BOOL(*options, metadata.confirm_on_dir_change)) continue; 698 if (READ_BOOL(*options, metadata.confirm_on_dir_change)) continue;
699 if (READ_BOOL(*options, metadata.tags_case_sensitive)) continue;
698 700
699 log_printf("unknown attribute %s = %s\n", option, value); 701 log_printf("unknown attribute %s = %s\n", option, value);
700 } 702 }
701 703
702 return TRUE; 704 return TRUE;