# HG changeset patch # User Elliott Sales de Andrade # Date 1329974930 0 # Node ID eb944c3e4cd7940fa058a7eed84c1ab5d057d35c # Parent b0ebc1938c2d0812c0bf0d8d3248bf572008ff30 Update the HTML in the Build Information dialog. I'm not sure whether I like the definition-list formatting, but WebKit was ignoring the indent-spacing we had before, anyway. diff -r b0ebc1938c2d -r eb944c3e4cd7 pidgin/gtkdialogs.c --- a/pidgin/gtkdialogs.c Thu Feb 23 04:57:16 2012 +0000 +++ b/pidgin/gtkdialogs.c Thu Feb 23 05:28:50 2012 +0000 @@ -542,175 +542,179 @@ str = g_string_sized_new(4096); g_string_append_printf(str, - "%s %s (libpurple %s)
%s

", PIDGIN_NAME, DISPLAY_VERSION, purple_core_get_version(), REVISION); + "

%s %s

" + "(libpurple %s)
%s
", + PIDGIN_NAME, DISPLAY_VERSION, purple_core_get_version(), REVISION); - g_string_append_printf(str, "%s
", _("Build Information")); + g_string_append_printf(str, "

%s

", _("Build Information")); - /* The following primarly intented for user/developer interaction and thus - ought not be translated */ + /* The following is primarily intended for user/developer interaction and + thus ought not be translated */ #ifdef CONFIG_ARGS /* win32 build doesn't use configure */ - g_string_append(str, " Arguments to ./configure: " CONFIG_ARGS "
"); + g_string_append(str, "
Arguments to ./configure:
" CONFIG_ARGS "
"); #endif #ifndef _WIN32 #ifdef DEBUG - g_string_append(str, " Print debugging messages: Yes
"); + g_string_append(str, "
Print debugging messages:
Yes
"); #else - g_string_append(str, " Print debugging messages: No
"); + g_string_append(str, "
Print debugging messages:
No
"); #endif #endif #ifdef PURPLE_PLUGINS - g_string_append(str, " Plugins: Enabled
"); + g_string_append(str, "
Plugins:
Enabled
"); #else - g_string_append(str, " Plugins: Disabled
"); + g_string_append(str, "
Plugins:
Disabled
"); #endif #ifdef HAVE_SSL - g_string_append(str, " SSL: SSL support is present.
"); + g_string_append(str, "
SSL:
SSL support is present.
"); #else - g_string_append(str, " SSL: SSL support was NOT compiled!
"); + g_string_append(str, "
SSL:
SSL support was NOT compiled!
"); #endif /* This might be useful elsewhere too, but it is particularly useful for - * debugging stuff known to be GTK+/Glib bugs on Windows */ + * debugging stuff known to be GTK+/GLib bugs on Windows */ #ifdef _WIN32 - g_string_append_printf(str, " GTK+ Runtime: %u.%u.%u
" - " Glib Runtime: %u.%u.%u
", + g_string_append_printf(str, "
GTK+ Runtime:
%u.%u.%u
" + "
GLib Runtime:
%u.%u.%u
", gtk_major_version, gtk_minor_version, gtk_micro_version, glib_major_version, glib_minor_version, glib_micro_version); #endif -g_string_append(str, "
Library Support
"); + g_string_append(str, "

Library Support

"); #ifdef HAVE_CYRUS_SASL - g_string_append_printf(str, " Cyrus SASL: Enabled
"); + g_string_append_printf(str, "
Cyrus SASL:
Enabled
"); #else - g_string_append_printf(str, " Cyrus SASL: Disabled
"); + g_string_append_printf(str, "
Cyrus SASL:
Disabled
"); #endif #ifndef _WIN32 #ifdef HAVE_DBUS - g_string_append_printf(str, " D-Bus: Enabled
"); + g_string_append_printf(str, "
D-Bus:
Enabled
"); #else - g_string_append_printf(str, " D-Bus: Disabled
"); + g_string_append_printf(str, "
D-Bus:
Disabled
"); #endif #ifdef HAVE_EVOLUTION_ADDRESSBOOK - g_string_append_printf(str, " Evolution Addressbook: Enabled
"); + g_string_append_printf(str, "
Evolution Addressbook:
Enabled
"); #else - g_string_append_printf(str, " Evolution Addressbook: Disabled
"); + g_string_append_printf(str, "
Evolution Addressbook:
Disabled
"); #endif #endif #if defined(_WIN32) || defined(USE_INTERNAL_LIBGADU) - g_string_append(str, " Gadu-Gadu library (libgadu): Internal
"); + g_string_append(str, "
Gadu-Gadu library (libgadu):
Internal
"); #else #ifdef HAVE_LIBGADU - g_string_append(str, " Gadu-Gadu library (libgadu): Enabled
"); + g_string_append(str, "
Gadu-Gadu library (libgadu):
Enabled
"); #else - g_string_append(str, " Gadu-Gadu library (libgadu): Disabled
"); + g_string_append(str, "
Gadu-Gadu library (libgadu):
Disabled
"); #endif #endif #ifdef USE_GTKSPELL - g_string_append(str, " GtkSpell: Enabled
"); + g_string_append(str, "
GtkSpell:
Enabled
"); #else - g_string_append(str, " GtkSpell: Disabled
"); + g_string_append(str, "
GtkSpell:
Disabled
"); #endif #ifdef HAVE_GNUTLS - g_string_append(str, " GnuTLS: Enabled
"); + g_string_append(str, "
GnuTLS:
Enabled
"); #else - g_string_append(str, " GnuTLS: Disabled
"); + g_string_append(str, "
GnuTLS:
Disabled
"); #endif #ifndef _WIN32 #ifdef USE_GSTREAMER - g_string_append(str, " GStreamer: Enabled
"); + g_string_append(str, "
GStreamer:
Enabled
"); #else - g_string_append(str, " GStreamer: Disabled
"); + g_string_append(str, "
GStreamer:
Disabled
"); #endif #endif #ifndef _WIN32 #ifdef ENABLE_MONO - g_string_append(str, " Mono: Enabled
"); + g_string_append(str, "
Mono:
Enabled
"); #else - g_string_append(str, " Mono: Disabled
"); + g_string_append(str, "
Mono:
Disabled
"); #endif #endif #ifndef _WIN32 #ifdef HAVE_NETWORKMANAGER - g_string_append(str, " NetworkManager: Enabled
"); + g_string_append(str, "
NetworkManager:
Enabled
"); #else - g_string_append(str, " NetworkManager: Disabled
"); + g_string_append(str, "
NetworkManager:
Disabled
"); #endif #endif #ifdef HAVE_NSS - g_string_append(str, " Network Security Services (NSS): Enabled
"); + g_string_append(str, "
Network Security Services (NSS):
Enabled
"); #else - g_string_append(str, " Network Security Services (NSS): Disabled
"); + g_string_append(str, "
Network Security Services (NSS):
Disabled
"); #endif -if (purple_plugins_find_with_id("core-perl") != NULL) - g_string_append(str, " Perl: Enabled
"); -else - g_string_append(str, " Perl: Disabled
"); + if (purple_plugins_find_with_id("core-perl") != NULL) + g_string_append(str, "
Perl:
Enabled
"); + else + g_string_append(str, "
Perl:
Disabled
"); -if (purple_plugins_find_with_id("core-tcl") != NULL) { - g_string_append(str, " Tcl: Enabled
"); + if (purple_plugins_find_with_id("core-tcl") != NULL) { + g_string_append(str, "
Tcl:
Enabled
"); #ifdef HAVE_TK - g_string_append(str, " Tk: Enabled
"); + g_string_append(str, "
Tk:
Enabled
"); #else - g_string_append(str, " Tk: Disabled
"); + g_string_append(str, "
Tk:
Disabled
"); #endif -} else { - g_string_append(str, " Tcl: Disabled
"); - g_string_append(str, " Tk: Disabled
"); -} + } else { + g_string_append(str, "
Tcl:
Disabled
"); + g_string_append(str, "
Tk:
Disabled
"); + } #ifdef USE_IDN - g_string_append(str, " UTF-8 DNS (IDN): Enabled
"); + g_string_append(str, "
UTF-8 DNS (IDN):
Enabled
"); #else - g_string_append(str, " UTF-8 DNS (IDN): Disabled
"); + g_string_append(str, "
UTF-8 DNS (IDN):
Disabled
"); #endif #ifdef USE_VV - g_string_append(str, " Voice and Video: Enabled
"); + g_string_append(str, "
Voice and Video:
Enabled
"); #else - g_string_append(str, " Voice and Video: Disabled
"); + g_string_append(str, "
Voice and Video:
Disabled
"); #endif #ifndef _WIN32 #ifdef USE_SM - g_string_append(str, " X Session Management: Enabled
"); + g_string_append(str, "
X Session Management:
Enabled
"); #else - g_string_append(str, " X Session Management: Disabled
"); + g_string_append(str, "
X Session Management:
Disabled
"); #endif #ifdef USE_SCREENSAVER - g_string_append(str, " XScreenSaver: Enabled
"); + g_string_append(str, "
XScreenSaver:
Enabled
"); #else - g_string_append(str, " XScreenSaver: Disabled
"); + g_string_append(str, "
XScreenSaver:
Disabled
"); #endif #ifdef LIBZEPHYR_EXT - g_string_append(str, " Zephyr library (libzephyr): External
"); + g_string_append(str, "
Zephyr library (libzephyr):
External
"); #else - g_string_append(str, " Zephyr library (libzephyr): Internal
"); + g_string_append(str, "
Zephyr library (libzephyr):
Internal
"); #endif #ifdef ZEPHYR_USES_KERBEROS - g_string_append(str, " Zephyr uses Kerberos: Yes
"); + g_string_append(str, "
Zephyr uses Kerberos:
Yes
"); #else - g_string_append(str, " Zephyr uses Kerberos: No
"); + g_string_append(str, "
Zephyr uses Kerberos:
No
"); #endif #endif + g_string_append(str, "
"); + /* End of not to be translated section */ tmp = g_strdup_printf(_("%s Build Information"), PIDGIN_NAME);