Some cosmetic and compilation fixes for the about screen

This commit is contained in:
Berke Viktor 2012-07-13 19:54:05 +02:00
parent cc28cc0177
commit 8f130324d3
2 changed files with 5 additions and 3 deletions

View File

@ -54,6 +54,8 @@ AH_VERBATIM([USING_LINUX],[#undef USING_LINUX])
AH_VERBATIM([socklen_t],[#undef socklen_t]) AH_VERBATIM([socklen_t],[#undef socklen_t])
AH_VERBATIM([USE_DBUS],[#undef USE_DBUS]) AH_VERBATIM([USE_DBUS],[#undef USE_DBUS])
AC_DEFINE([XCHAT_REVISION],["1508"],[XChat SVN Revision])
AC_PATH_PROG(sedpath, sed) AC_PATH_PROG(sedpath, sed)
if test "_$sedpath" = _; then if test "_$sedpath" = _; then
AC_MSG_ERROR("Cannot find sed: I need it\!") AC_MSG_ERROR("Cannot find sed: I need it\!")

View File

@ -116,7 +116,6 @@ menu_about (GtkWidget * wid, gpointer sess)
(snprintf) (buf, sizeof (buf), (snprintf) (buf, sizeof (buf),
"<span size=\"x-large\"><b>"DISPLAY_NAME" "PACKAGE_VERSION"</b></span>\n" "<span size=\"x-large\"><b>"DISPLAY_NAME" "PACKAGE_VERSION"</b></span>\n"
"\n%s\n\n" "\n%s\n\n"
"<b>XChat Revision</b>: r"XCHAT_REVISION"\n"
"<b>OS</b>: %s\n" "<b>OS</b>: %s\n"
"<b>Charset</b>: %s " "<b>Charset</b>: %s "
#ifdef WIN32 #ifdef WIN32
@ -124,12 +123,13 @@ menu_about (GtkWidget * wid, gpointer sess)
#else #else
"<b>Renderer</b>: %s\n" "<b>Renderer</b>: %s\n"
#endif #endif
"<b>XChat Revision</b>: r"XCHAT_REVISION"\n"
"<b>Compiled</b>: "__DATE__"\n" "<b>Compiled</b>: "__DATE__"\n"
#ifdef WIN32 #ifdef WIN32
"<b>Portable Mode</b>: %s\n" "<b>Portable Mode</b>: %s\n"
"<b>Build Type</b>: x%d\n\n" "<b>Build Type</b>: x%d\n"
#endif #endif
"<small>\302\251 1998-2010 Peter \305\275elezn\303\275 &lt;zed@xchat.org>\n" "\n<small>\302\251 1998-2010 Peter \305\275elezn\303\275 &lt;zed@xchat.org>\n"
"\302\251 2009-2011 Berke Viktor &lt;bviktor@hexchat.org></small>", "\302\251 2009-2011 Berke Viktor &lt;bviktor@hexchat.org></small>",
_("A multiplatform IRC Client"), _("A multiplatform IRC Client"),
get_cpu_str (), get_cpu_str (),