[epiphany/history-rewrite: 8/13] ephy-history-types: use the URL as default title



commit 27d05dfc4f8e82afb78201fc63892e97e28f213a
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]