changeset 10372:618a330c0260

[gaim-migrate @ 11595] (17:31:55) SimGuy: LSchiere2: because the person that redid it didn't think to move the CPWs since they only have one field (17:32:05) SimGuy: the others are all multiple pieces of data (17:32:07) LSchiere2: its confusing and inconsistent now (17:48:00) SimGuy: LSchiere2: http://kevin.simguy.net:8888/patches/gaim-cpw-structify.diff (17:48:03) SimGuy: that should apply to both (17:48:16) SimGuy: the patch to util.c just fixes a spelling error in a comment I fixed like 6 weeks ago (17:48:59) SimGuy: er, both being HEAD and oldstatus committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 14 Dec 2004 22:50:54 +0000
parents fb8e82fa32af
children 35068a87b59d
files src/gtkdialogs.c src/util.c
diffstat 2 files changed, 24 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkdialogs.c	Tue Dec 14 22:30:52 2004 +0000
+++ b/src/gtkdialogs.c	Tue Dec 14 22:50:54 2004 +0000
@@ -77,6 +77,18 @@
 	{NULL, NULL, NULL}
 };
 
+static struct developer patch_writers[] = {
+	{"Daniel 'datallah' Atallah",	NULL,	NULL},
+	{"Ka-Hing 'javabsp' Cheung",	NULL,	NULL},
+	{"Felipe 'shx' Contreras",		NULL,	NULL},
+	{"Decklin Foster",				NULL,	NULL},
+	{"Gary 'grim' Kramlich",		NULL,	NULL},
+	{"Robert 'Robot101' McQueen",	NULL,	NULL},
+	{"Benjamin Miller",				NULL,	NULL},
+	{"Kevin 'SimGuy' Stange",		NULL,	NULL},
+	{NULL, NULL, NULL}
+};
+
 static struct developer retired_developers[] = {
 	{"Adam Fritzler",		N_("former libfaim maintainer"), NULL},
 	{"Eric Warmenhoven",	N_("former lead developer"), "warmenhoven@yahoo.com"},
@@ -236,16 +248,17 @@
 	/* Crazy Patch Writers */
 	g_string_append_printf(str, "<FONT SIZE=\"4\">%s:</FONT><BR/>",
 						   _("Crazy Patch Writers"));
-	g_string_append(str,
-					"  Daniel 'datallah' Atallah<BR>"
-					"  Ka-Hing 'javabsp' Cheung<BR>"
-					"  Felipe 'shx' Contreras<BR>"
-					"  Decklin Foster<BR>"
-					"  Gary 'grim' Kramlich<BR>"
-					"  Robert 'Robot101' McQueen<BR>"
-					"  Benjamin Miller<BR>"
-					"  Kevin 'SimGuy' Stange<BR>"
-					"<BR>");
+	for (i = 0; patch_writers[i].name != NULL; i++) {
+		if (patch_writers[i].email != NULL) {
+			g_string_append_printf(str, "  %s &lt;<a href=\"mailto:%s\">%s</a>&gt;<br/>",
+					patch_writers[i].name,
+					patch_writers[i].email, patch_writers[i].email);
+		} else {
+			g_string_append_printf(str, "  %s<br/>",
+					patch_writers[i].name);
+		}
+	}
+	g_string_append(str, "<BR/>");
 
 	/* Retired Developers */
 	g_string_append_printf(str, "<FONT SIZE=\"4\">%s:</FONT><BR/>",
--- a/src/util.c	Tue Dec 14 22:30:52 2004 +0000
+++ b/src/util.c	Tue Dec 14 22:50:54 2004 +0000
@@ -1397,7 +1397,7 @@
 	gboolean inside_html = FALSE;
 	int inside_paren = 0;
 	GString *ret = g_string_new("");
-	/* Assumes you have a buffer able to cary at least BUF_LEN * 2 bytes */
+	/* Assumes you have a buffer able to carry at least BUF_LEN * 2 bytes */
 
 	c = text;
 	while (*c) {