X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=src%2Fpreferences.c;h=a67fc77221ff0d317eb8873af47be2d439443bf3;hp=831e9de492b56886a959d936912407784025d357;hb=c78e429c2949356b893b6c7d5c692c2a4ccaa447;hpb=6d541232b1c2c670ff9417b9797e16ca56439318 diff --git a/src/preferences.c b/src/preferences.c index 831e9de4..a67fc772 100644 --- a/src/preferences.c +++ b/src/preferences.c @@ -415,6 +415,7 @@ static void config_window_apply(void) options->metadata.confirm_on_dir_change = c_options->metadata.confirm_on_dir_change; options->metadata.keywords_case_sensitive = c_options->metadata.keywords_case_sensitive; options->metadata.write_orientation = c_options->metadata.write_orientation; + options->metadata.check_spelling = c_options->metadata.check_spelling; options->stereo.mode = (c_options->stereo.mode & (PR_STEREO_HORIZ | PR_STEREO_VERT | PR_STEREO_FIXED | PR_STEREO_ANAGLYPH | PR_STEREO_HALF)) | (c_options->stereo.tmp.mirror_right ? PR_STEREO_MIRROR_RIGHT : 0) | (c_options->stereo.tmp.flip_right ? PR_STEREO_FLIP_RIGHT : 0) | @@ -2963,6 +2964,14 @@ static void config_tab_metadata(GtkWidget *notebook) pref_checkbox_new_int(group, _("Write metadata on directory change"), options->metadata.confirm_on_dir_change, &c_options->metadata.confirm_on_dir_change); +#ifdef HAVE_SPELL +#if GTK_CHECK_VERSION(3,20,0) + group = pref_group_new(vbox, FALSE, _("Spelling checks"), GTK_ORIENTATION_VERTICAL); + + ct_button = pref_checkbox_new_int(group, _("Check spelling -Requires restart"), options->metadata.check_spelling, &c_options->metadata.check_spelling); +#endif +#endif + group = pref_group_new(vbox, FALSE, _("Pre-load metadata"), GTK_ORIENTATION_VERTICAL); ct_button = pref_checkbox_new_int(group, _("Read metadata in background"),