From 7580ecad8e62633f9f4c05e37a6c466bc3b61564 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 20 Feb 2010 22:28:52 +0100 Subject: [PATCH] Omit micro version and arch from ident string --- midori/midori-websettings.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c index 77cb5f47..8b133cc2 100644 --- a/midori/midori-websettings.c +++ b/midori/midori-websettings.c @@ -1188,7 +1188,7 @@ get_sys_name (void) { struct utsname name; if (uname (&name) != -1) - sys_name = g_strdup_printf ("%s %s", name.sysname, name.machine); + sys_name = name.sysname; else sys_name = "Unix"; } @@ -1214,15 +1214,10 @@ generate_ident_string (MidoriIdentity identify_as) const gchar* os = #if HAVE_OSX - /* #if defined (HAVE_X86) */ - "Intel Mac OS X"; - /* #else - "PPC Mac OS X"; - #endif */ + "Mac OS X"; #elif defined (G_OS_UNIX) get_sys_name (); #elif defined (G_OS_WIN32) - // FIXME: Windows NT version "Windows"; #else "Unknown"; @@ -1230,8 +1225,7 @@ generate_ident_string (MidoriIdentity identify_as) const gchar* appname = "Midori/" G_STRINGIFY (MIDORI_MAJOR_VERSION) "." - G_STRINGIFY (MIDORI_MINOR_VERSION) "." - G_STRINGIFY (MIDORI_MICRO_VERSION); + G_STRINGIFY (MIDORI_MINOR_VERSION); const gchar* lang = pango_language_to_string (gtk_get_default_language ()); -- 2.39.5