about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2012-02-22 16:49:28 -0600
committerMarco Peereboom <marco@conformal.com>2012-02-22 16:49:28 -0600
commit5ac4f3c9f737fc53b6130c0590611f1096476f3b (patch)
tree54aa7bef46e7929497ab3a51637b6063b40bbdb0
parent01cbae3bf83a4b24c765d6c70296672e0de176d6 (diff)
downloadxombrero-5ac4f3c9f737fc53b6130c0590611f1096476f3b.tar.gz
print more version information in :about
-rw-r--r--about.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/about.c b/about.c
index 10c4584..596d308 100644
--- a/about.c
+++ b/about.c
@@ -219,6 +219,9 @@ about(struct tab *t, struct karg *args)
 #ifdef XXXTERM_BUILDSTR
 	    "<br><b>Build: %s</b>"
 #endif
+	    "<br><b>WebKit: %d.%d.%d</b>"
+	    "<br><b>User Agent: %d.%d</b>"
+	    "<br><b>WebKit API: %.1f</b>"
 	    "<p>"
 	    "Authors:"
 	    "<ul>"
@@ -233,10 +236,13 @@ about(struct tab *t, struct karg *args)
 	    "<a href=\"http://opensource.conformal.com/wiki/XXXTerm\">website</a>"
 	    "</p>",
 #ifdef XXXTERM_BUILDSTR
-	    version, XXXTERM_BUILDSTR
+	    version, XXXTERM_BUILDSTR,
 #else
-	    version
+	    version,
 #endif
+	    WEBKIT_MAJOR_VERSION, WEBKIT_MINOR_VERSION, WEBKIT_MICRO_VERSION,
+	    WEBKIT_USER_AGENT_MAJOR_VERSION, WEBKIT_USER_AGENT_MINOR_VERSION,
+	    WEBKITGTK_API_VERSION
 	    );
 
 	page = get_html_page("About", body, "", 0);