1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-29 20:52:16 -05:00

add link to about dialog, save it for when it actually works

This commit is contained in:
berkeviktor@aol.com 2010-10-20 21:38:38 +02:00
parent 36278c266e
commit 93f6d7a7f1

View File

@ -774,7 +774,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/xchat.h xchat-wdk/src/co
unsigned int ctcp_time_limit; /*seconds of floods */ unsigned int ctcp_time_limit; /*seconds of floods */
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/about.c xchat-wdk/src/fe-gtk/about.c diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/about.c xchat-wdk/src/fe-gtk/about.c
--- xchat-wdk.orig/src/fe-gtk/about.c 2010-05-16 09:43:49 +0200 --- xchat-wdk.orig/src/fe-gtk/about.c 2010-05-16 09:43:49 +0200
+++ xchat-wdk/src/fe-gtk/about.c 2010-10-09 12:53:27 +0200 +++ xchat-wdk/src/fe-gtk/about.c 2010-10-20 21:35:47 +0200
@@ -39,6 +39,7 @@ @@ -39,6 +39,7 @@
#include "../common/xchat.h" #include "../common/xchat.h"
@ -812,7 +812,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/about.c xchat-wdk/src/fe
gtk_window_set_resizable (GTK_WINDOW (about), FALSE); gtk_window_set_resizable (GTK_WINDOW (about), FALSE);
gtk_window_set_title (GTK_WINDOW (about), _("About "DISPLAY_NAME)); gtk_window_set_title (GTK_WINDOW (about), _("About "DISPLAY_NAME));
if (parent_window) if (parent_window)
@@ -114,35 +128,40 @@ @@ -114,35 +128,42 @@
g_get_charset (&locale); g_get_charset (&locale);
(snprintf) (buf, sizeof (buf), (snprintf) (buf, sizeof (buf),
"<span size=\"x-large\"><b>"DISPLAY_NAME" "PACKAGE_VERSION"</b></span>\n\n" "<span size=\"x-large\"><b>"DISPLAY_NAME" "PACKAGE_VERSION"</b></span>\n\n"
@ -831,7 +831,9 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/fe-gtk/about.c xchat-wdk/src/fe
+ "<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\n"
+ "<small>This version is unofficial and comes with no support.\n" + "<small>This version is unofficial and comes with no support.\n"
+ "\302\251 1998-2010 Peter \305\275elezn\303\275 &lt;zed@xchat.org></small>", + "\302\251 1998-2010 Peter \305\275elezn\303\275 &lt;zed@xchat.org>"
+ /* "\n<a href=\"http://code.google.com/p/xchat-wdk/\">http://code.google.com/p/xchat-wdk/</a>" this is broken in gtk ATM */
+ "</small>",
+ get_cpu_str (), + get_cpu_str (),
+ locale, + locale,
+ gtk_major_version, + gtk_major_version,