From 9c120d63889fb8e52f108656eeeb66d1e6dbc507 Mon Sep 17 00:00:00 2001 From: Manuel QuiƱones Date: Mon, 22 Oct 2012 18:26:25 +0000 Subject: Make the autocomplete list touch-friendly - SL #4049 - limit the number of matches so the list doesn't interfere with the OSK - enlarge the rows height to the size of an icon of standard size, so the rows are as touchable as Sugar icons - make the list of alternate colors to distinguish the clickable/touchable area Signed-off-by: Manuel QuiƱones --- (limited to 'places.py') diff --git a/places.py b/places.py index 5001b43..36da8b7 100644 --- a/places.py +++ b/places.py @@ -34,7 +34,7 @@ class Place(object): class SqliteStore(object): - MAX_SEARCH_MATCHES = 20 + MAX_SEARCH_MATCHES = 7 EXPIRE_DAYS = 30 def __init__(self): -- cgit v0.9.1