diff src/preferences.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 fffb62c7ba1e
children b5608391f479
line wrap: on
line diff
--- a/src/preferences.c	Sat Apr 11 19:35:03 2009 +0000
+++ b/src/preferences.c	Sat Apr 11 19:51:03 2009 +0000
@@ -324,6 +324,7 @@
 	options->metadata.confirm_after_timeout = c_options->metadata.confirm_after_timeout;
 	options->metadata.confirm_on_image_change = c_options->metadata.confirm_on_image_change;
 	options->metadata.confirm_on_dir_change = c_options->metadata.confirm_on_dir_change;
+	options->metadata.tags_case_sensitive = c_options->metadata.tags_case_sensitive;
 
 #ifdef DEBUG
 	set_debug_level(debug_c);
@@ -1364,6 +1365,9 @@
 
 	pref_checkbox_new_int(group, _("Write metadata on directory change"),
 			      options->metadata.confirm_on_dir_change, &c_options->metadata.confirm_on_dir_change);
+
+	pref_checkbox_new_int(group, _("Allow keywords to differ only in case"),
+			      options->metadata.tags_case_sensitive, &c_options->metadata.tags_case_sensitive);
 }
 
 /* metadata tab */