aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-08-13 00:01:33 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-01 02:34:00 +0800
commit03c2cd35009afd4f572130c44ca4018f425a9def (patch)
treef18df3920de9677b757b73b9833792e0ee8596d1
parentf2036c2967cc0366f466f44dab3fb722cfe2897f (diff)
downloadgsoc2013-epiphany-03c2cd35009afd4f572130c44ca4018f425a9def.tar.gz
gsoc2013-epiphany-03c2cd35009afd4f572130c44ca4018f425a9def.tar.zst
gsoc2013-epiphany-03c2cd35009afd4f572130c44ca4018f425a9def.zip
ephy-history-service-urls-table: add new rows to the table
These rows store information relevant to the overview: the update time of the url's thumbnail and wheter the url should be hidden from the overview's frecent view.
-rw-r--r--lib/history/ephy-history-service-urls-table.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/history/ephy-history-service-urls-table.c b/lib/history/ephy-history-service-urls-table.c
index e5fd21188..8f54dd386 100644
--- a/lib/history/ephy-history-service-urls-table.c
+++ b/lib/history/ephy-history-service-urls-table.c
@@ -40,7 +40,9 @@ ephy_history_service_initialize_urls_table (EphyHistoryService *self)
"title LONGVARCAR,"
"visit_count INTEGER DEFAULT 0 NOT NULL,"
"typed_count INTEGER DEFAULT 0 NOT NULL,"
- "last_visit_time INTEGER)", &error);
+ "last_visit_time INTEGER,"
+ "thumbnail_update_time INTEGER DEFAULT 0,"
+ "hidden_from_overview INTEGER DEFAULT 0)", &error);
if (error) {
g_error("Could not create urls table: %s", error->message);