[epiphany/history-rewrite] ephy-history-service: retrieve the host for urls
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/history-rewrite] ephy-history-service: retrieve the host for urls
- Date: Thu, 1 Sep 2011 16:47:24 +0000 (UTC)
commit d6420a570a3473a7248e0540f1e550d37854f237
Author: Claudio Saavedra <csaavedra igalia com>
Date: Fri Aug 26 14:16:28 2011 +0300
ephy-history-service: retrieve the host for urls
lib/history/ephy-history-service-urls-table.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/lib/history/ephy-history-service-urls-table.c b/lib/history/ephy-history-service-urls-table.c
index 61e8eb9..635567c 100644
--- a/lib/history/ephy-history-service-urls-table.c
+++ b/lib/history/ephy-history-service-urls-table.c
@@ -212,6 +212,8 @@ create_url_from_statement (EphySQLiteStatement *statement)
ephy_sqlite_statement_get_column_as_int (statement, 6));
url->id = ephy_sqlite_statement_get_column_as_int (statement, 0);
+ url->host = ephy_history_host_new (NULL, NULL, 0);
+ url->host->id = ephy_sqlite_statement_get_column_as_int (statement, 7);
return url;
}
@@ -233,7 +235,8 @@ ephy_history_service_find_url_rows (EphyHistoryService *self, EphyHistoryQuery *
"urls.visit_count, "
"urls.typed_count, "
"urls.last_visit_time, "
- "urls.zoom_level "
+ "urls.zoom_level, "
+ "urls.host "
"FROM "
"urls JOIN visits ON visits.url = urls.id "
"WHERE ";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]