#endif
#endif
+#ifdef HAVE_SPELL
+#include <gspell/gspell.h>
+#endif
+
#define EDITOR_NAME_MAX_LENGTH 32
#define EDITOR_COMMAND_MAX_LENGTH 1024
options->circular_selection_lists = c_options->circular_selection_lists;
options->open_recent_list_maxsize = c_options->open_recent_list_maxsize;
+ options->recent_folder_image_list_maxsize = c_options->recent_folder_image_list_maxsize;
options->dnd_icon_size = c_options->dnd_icon_size;
options->clipboard_selection = c_options->clipboard_selection;
options->dnd_default_action = c_options->dnd_default_action;
GtkTextIter iter;
GtkTextBuffer *buffer;
gchar *tmp;
+#ifdef HAVE_SPELL
+ GspellTextView *gspell_view;
+#endif
vbox = scrolled_notebook_page(notebook, _("Keywords"));
gtk_box_pack_start(GTK_BOX(group), scrolled, TRUE, TRUE, 0);
gtk_widget_show(scrolled);
+#ifdef HAVE_SPELL
+#if GTK_CHECK_VERSION(3,20,0)
+ if (options->metadata.check_spelling)
+ {
+ gspell_view = gspell_text_view_get_from_gtk_text_view(GTK_TEXT_VIEW(keyword_text));
+ gspell_text_view_basic_setup(gspell_view);
+ }
+#endif
+#endif
+
gtk_container_add(GTK_CONTAINER(scrolled), keyword_text);
gtk_widget_show(keyword_text);
pref_spin_new_int(group, _("Recent folder list maximum size"), NULL,
1, 50, 1, options->open_recent_list_maxsize, &c_options->open_recent_list_maxsize);
+ tmp = pref_spin_new_int(group, _("Recent folder-image list maximum size"), NULL, 0, 50, 1, options->recent_folder_image_list_maxsize, &c_options->recent_folder_image_list_maxsize);
+ gtk_widget_set_tooltip_text(tmp, _("List of the last image viewed in each recent folder.\nRe-opening a folder will set focus to the last image viewed."));
+
pref_spin_new_int(group, _("Drag'n drop icon size"), NULL,
16, 256, 16, options->dnd_icon_size, &c_options->dnd_icon_size);