Mercurial > geeqie
diff src/preferences.c @ 594:4cfce4ed35e0
Use a dedicated option to enable keywords and comment saving as XMP tags
in image's files.
This new option is named "save_metadata_in_image_file" in configuration file.
User can toggle it through Preferences > Advanced > Miscellaneous > Store keywords and comments as XMP tags in image files.
Description of enable_metadata_dirs was modified as an attempt to improve clarity.
author | zas_ |
---|---|
date | Tue, 06 May 2008 12:31:23 +0000 |
parents | 905688aa2317 |
children | 5da092a6a92a |
line wrap: on
line diff
--- a/src/preferences.c Tue May 06 12:03:39 2008 +0000 +++ b/src/preferences.c Tue May 06 12:31:23 2008 +0000 @@ -279,6 +279,8 @@ layout_copy_path_update_all(); } + options->save_metadata_in_image_file = c_options->save_metadata_in_image_file; + #ifdef DEBUG set_debug_level(debug_c); #endif @@ -1434,9 +1436,12 @@ group = pref_group_new(vbox, FALSE, _("Miscellaneous"), GTK_ORIENTATION_VERTICAL); - pref_checkbox_new_int(group, _("Store keywords and comments local to source images"), + pref_checkbox_new_int(group, _("Store metadata and cache files in source image's directory"), options->enable_metadata_dirs, &c_options->enable_metadata_dirs); + pref_checkbox_new_int(group, _("Store keywords and comments as XMP tags in image files"), + options->save_metadata_in_image_file, &c_options->save_metadata_in_image_file); + pref_spin_new_int(group, _("Custom similarity threshold:"), NULL, 0, 100, 1, options->duplicates_similarity_threshold, &c_options->duplicates_similarity_threshold);