[epiphany] ephy-history-types: use the URL as default title
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-history-types: use the URL as default title
- Date: Tue, 6 Mar 2012 20:53:02 +0000 (UTC)
commit b2d915c1d54caa3875cbb4cedbe2e5b3f4ee51cd
Author: Xan Lopez <xan igalia com>
Date: Fri Mar 2 13:30:39 2012 +0100
ephy-history-types: use the URL as default title
This is what the old history code did. Looks better than an empty
string.
lib/history/ephy-history-types.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/history/ephy-history-types.c b/lib/history/ephy-history-types.c
index 84e83e7..0afd190 100644
--- a/lib/history/ephy-history-types.c
+++ b/lib/history/ephy-history-types.c
@@ -36,7 +36,7 @@ ephy_history_page_visit_new_with_url (EphyHistoryURL *url, gint64 visit_time, Ep
EphyHistoryPageVisit *
ephy_history_page_visit_new (const char *url, gint64 visit_time, EphyHistoryPageVisitType visit_type)
{
- return ephy_history_page_visit_new_with_url (ephy_history_url_new (url, "", 0, 0, 0),
+ return ephy_history_page_visit_new_with_url (ephy_history_url_new (url, url, 0, 0, 0),
visit_time, visit_type);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]