diff pidgin/gtkmain.c @ 20167:d5d0a5b88104

Include the version in the segfault message - enough people blindly copy and paste this to bug reports to make this useful :(
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 19 Sep 2007 02:15:31 +0000
parents df2961ce0714
children 02df6998b466 15f61e6b15cd
line wrap: on
line diff
--- a/pidgin/gtkmain.c	Wed Sep 19 01:04:39 2007 +0000
+++ b/pidgin/gtkmain.c	Wed Sep 19 02:15:31 2007 +0000
@@ -513,7 +513,7 @@
 #ifndef DEBUG
 		/* We translate this here in case the crash breaks gettext. */
 		segfault_message_tmp = g_strdup_printf(_(
-			"%s has segfaulted and attempted to dump a core file.\n"
+			"%s %s has segfaulted and attempted to dump a core file.\n"
 			"This is a bug in the software and has happened through\n"
 			"no fault of your own.\n\n"
 			"If you can reproduce the crash, please notify the developers\n"
@@ -527,7 +527,7 @@
 			"LSchiere (via AIM).  Contact information for Sean and Luke \n"
 			"on other protocols is at\n"
 			"%swiki/DeveloperPages\n"),
-			PIDGIN_NAME, PURPLE_DEVEL_WEBSITE, PURPLE_DEVEL_WEBSITE, PURPLE_DEVEL_WEBSITE
+			PIDGIN_NAME, VERSION, PURPLE_DEVEL_WEBSITE, PURPLE_DEVEL_WEBSITE, PURPLE_DEVEL_WEBSITE
 		);
 
 		/* we have to convert the message (UTF-8 to console