Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/places.py
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-10-22 18:26:25 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-10-22 19:16:48 (GMT)
commit9c120d63889fb8e52f108656eeeb66d1e6dbc507 (patch)
tree9a5b97591d2442adf1766ad6209fde8c8f756d74 /places.py
parentc9975a7c356b6c7d81473560cd7d5d611c82bfcb (diff)
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 <manuq@laptop.org>
Diffstat (limited to 'places.py')
-rw-r--r--places.py2
1 files changed, 1 insertions, 1 deletions
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):