changeset 26176:c1019839ddec

Add libpurple version to '/debug version' output.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Wed, 11 Mar 2009 04:38:12 +0000
parents 61fb8b6be8aa
children 85bb3539d302
files pidgin/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Tue Mar 10 17:02:05 2009 +0000
+++ b/pidgin/gtkconv.c	Wed Mar 11 04:38:12 2009 +0000
@@ -329,7 +329,8 @@
 	PurpleCmdStatus status;
 
 	if (!g_ascii_strcasecmp(args[0], "version")) {
-		tmp = g_strdup_printf("me is using %s v%s.", "Pidgin", DISPLAY_VERSION);
+		tmp = g_strdup_printf("me is using Pidgin v%s with libpurple v%s.",
+				DISPLAY_VERSION, purple_core_get_version());
 		markup = g_markup_escape_text(tmp, -1);
 
 		status = purple_cmd_do_command(conv, tmp, markup, error);