[almanah] Bug 647691 — Make search case-insensitive



commit 325433a918c4e7b299c2a1542c5d95eea86beb7b
Author: �lvaro Peña <alvaropg gmail com>
Date:   Wed Apr 20 16:40:16 2011 +0100

    Bug 647691 â?? Make search case-insensitive

 src/storage-manager.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/storage-manager.c b/src/storage-manager.c
index b576621..5cb3407 100644
--- a/src/storage-manager.c
+++ b/src/storage-manager.c
@@ -957,7 +957,8 @@ almanah_storage_manager_search_entries (AlmanahStorageManager *self, const gchar
 
 			/* Perform the search */
 			gtk_text_buffer_get_start_iter (text_buffer, &text_iter);
-			if (gtk_text_iter_forward_search (&text_iter, search_string, GTK_TEXT_SEARCH_VISIBLE_ONLY | GTK_TEXT_SEARCH_TEXT_ONLY,
+			if (gtk_text_iter_forward_search (&text_iter, search_string,
+			                                  GTK_TEXT_SEARCH_VISIBLE_ONLY | GTK_TEXT_SEARCH_TEXT_ONLY | GTK_TEXT_SEARCH_CASE_INSENSITIVE,
 			                                  NULL, NULL, NULL) == TRUE) {
 				/* A match was found! */
 				return entry;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]