summary refs log tree commit diff stats
path: root/src/fe-gtk/about.c
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-05-31 00:40:13 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-05-31 00:40:13 +0200
commit5e4a60debe1c3643bcc455778e2ef7f6238c71c2 (patch)
tree84a4f2e484f35699ad83fe7be2a4577907c53dc7 /src/fe-gtk/about.c
parent36eb489794fba5b456c895b0324eaca6f4b62ff9 (diff)
support for own license text
Diffstat (limited to 'src/fe-gtk/about.c')
-rw-r--r--src/fe-gtk/about.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fe-gtk/about.c b/src/fe-gtk/about.c
index 6e69b646..e1e5149c 100644
--- a/src/fe-gtk/about.c
+++ b/src/fe-gtk/about.c
@@ -40,6 +40,7 @@
 #include "../common/xchat.h"
 #include "../common/util.h"
 #include "../common/wdkutil.h"
+#include "../common/xchatc.h"
 #include "palette.h"
 #include "pixmaps.h"
 #include "gtkutil.h"
@@ -114,7 +115,8 @@ menu_about (GtkWidget * wid, gpointer sess)
 	gtk_container_add (GTK_CONTAINER (vbox), label);
 	g_get_charset (&locale);
 	(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"
+				"<span size=\"x-large\">%s</span>\n\n"
 #ifdef WIN32
 				"<b>XChat Release</b>: "XCHAT_RELEASE"\n\n"
 				"<b>OS</b>: %s\n"
@@ -127,6 +129,7 @@ menu_about (GtkWidget * wid, gpointer sess)
 				"\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>",
+				prefs.gui_license,
 				get_cpu_str (),
 				locale,
 				gtk_major_version,