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-01-06 14:22:48 (GMT)
committer Simon Schampijer <simon@schampijer.de>2012-01-06 19:25:24 (GMT)
commitd50001dc6f26b31e39689a20a6540ad4f2e525ba (patch)
treec418ab0448f2eb471c216695766f089b3c399ca5 /places.py
parent766ae15770617580c0cba22a7118d13dc175d3cc (diff)
Global history for URL autocompletion in URL entry
The sqlite backend to store the global history is maintained. There are two fields in the database that are left unused: bookmark and gecko_flags. Signed-off-by: Manuel QuiƱones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'places.py')
-rw-r--r--places.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/places.py b/places.py
index 90956fe..8b98c79 100644
--- a/places.py
+++ b/places.py
@@ -46,6 +46,9 @@ class SqliteStore(object):
cursor.execute('select * from sqlite_master where name == "places"')
if cursor.fetchone() == None:
+ # Create table to store the visited places. Note that
+ # bookmark and gecko_flags fields aren't used anymore in
+ # WebKit port, but are kept for backwards compatibility.
cursor.execute("""create table places (
uri text,
title text,