about summary refs log tree commit diff stats
path: root/about.c
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-12-28 13:38:37 -0600
committerMarco Peereboom <marco@conformal.com>2011-12-28 13:41:23 -0600
commit748728177d5afa65af189ca1b50523a6b0d431e3 (patch)
treee36688de737ab6140c28ac1b7c877320792fdb98 /about.c
parentf6a3ffaf8264b9c7d5bfa2747fce9bdd5531dc1d (diff)
downloadxombrero-748728177d5afa65af189ca1b50523a6b0d431e3.tar.gz
Add link coloring after visiting it.
Work around for bug #51747
from Stevan Andjelkovic <stevan.andjelkovic@strath.ac.uk>
Diffstat (limited to 'about.c')
-rw-r--r--about.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/about.c b/about.c
index 744a870..3df1795 100644
--- a/about.c
+++ b/about.c
@@ -1265,7 +1265,7 @@ xtp_page_hl(struct tab *t, struct karg *args)
 
 	/* body */
 	body = g_strdup_printf("<table style='table-layout:fixed'><tr>"
-	    "<th>URI</th><th>Title</th><th style='width: 40px'>Rm</th></tr>\n");
+	    "<th>URI</th><th>Title</th><th>Last visited</th><th style='width: 40px'>Rm</th></tr>\n");
 
 	RB_FOREACH_REVERSE(h, history_list, &hl) {
 		tmp = body;
@@ -1273,9 +1273,10 @@ xtp_page_hl(struct tab *t, struct karg *args)
 		    "%s\n<tr>"
 		    "<td><a href='%s'>%s</a></td>"
 		    "<td>%s</td>"
+		    "<td>%s</td>"
 		    "<td style='text-align: center'>"
 		    "<a href='%s%d/%s/%d/%d'>X</a></td></tr>\n",
-		    body, h->uri, h->uri, h->title,
+		    body, h->uri, h->uri, h->title, ctime(&h->time),
 		    XT_XTP_STR, XT_XTP_HL, hl_session_key,
 		    XT_XTP_HL_REMOVE, i);