changeset 2562:4e1c0f3b2d49

Image Search - Ignore rotation In the Image Search window, include a checkbox for Ignore Rotation on the Image Content line.
author Colin Clark <colin.clark@cclark.uk>
date Thu, 20 Jul 2017 11:11:50 +0100
parents ff4f232cdf4b
children ecd984e6ba99
files src/search.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Thu Jul 20 09:57:57 2017 +0100
+++ b/src/search.c	Thu Jul 20 11:11:50 2017 +0100
@@ -2960,6 +2960,8 @@
 	tab_completion_add_select_button(sd->entry_similarity, NULL, FALSE);
 	gtk_box_pack_start(GTK_BOX(hbox), combo, TRUE, TRUE, 0);
 	gtk_widget_show(combo);
+	pref_checkbox_new_int(hbox, _("Ignore rotation"),
+				options->rot_invariant_sim, &options->rot_invariant_sim);
 
 	/* Search for image keywords */
 	hbox = menu_choice(sd->box_search, &sd->check_keywords, &sd->menu_keywords,