[recipes] Don't cut off search terms at 3 characters
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Don't cut off search terms at 3 characters
- Date: Sat, 31 Dec 2016 16:55:17 +0000 (UTC)
commit 375edecf5cc02daf5c294722742800e858e5d620
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Dec 31 11:52:48 2016 -0500
Don't cut off search terms at 3 characters
The behavior when backspacing is a bit jarring, and we do search
incrementally now, so it should be ok.
src/gr-search-page.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-search-page.c b/src/gr-search-page.c
index de3b8a4..75109c8 100644
--- a/src/gr-search-page.c
+++ b/src/gr-search-page.c
@@ -184,7 +184,7 @@ gr_search_page_update_search (GrSearchPage *page,
gtk_stack_set_visible_child_name (GTK_STACK (page->search_stack), "list");
- if (term == NULL || strlen (term) < 3) {
+ if (term == NULL || strlen (term) < 1) {
container_remove_all (GTK_CONTAINER (page->flow_box));
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]