From: Christian Dywan Date: Wed, 4 Apr 2012 20:55:23 +0000 (+0200) Subject: Include geolocation info in about:version X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbec9bcb7466b793103426bdb66c88c9fcdc911b;p=midori Include geolocation info in about:version --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 52176054..65d53f25 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -3828,7 +3828,43 @@ list_netscape_plugins (JSContextRef js_context) return g_strdup (""); } -static gchar* +static const gchar* +list_geolocation () +{ + return + "" + "" + ""; +} + static gchar* list_video_formats (JSContextRef js_context) { @@ -4155,7 +4191,7 @@ midori_view_set_uri (MidoriView* view, "Identification%s" "Video Formats%s" "" - "%s" + "%s %s" "", _("Version numbers in brackets show the version used at runtime."), command_line, @@ -4182,7 +4218,7 @@ midori_view_set_uri (MidoriView* view, "Sockets", #endif platform, sys_name, architecture ? architecture : "", ident, - video_formats, netscape_plugins); + video_formats, list_geolocation (), netscape_plugins); g_free (command_line); g_free (arguments); g_free (ident);