pidgin: 6ed841c1: Update HTML in the Developer Information...

qulogic at pidgin.im qulogic at pidgin.im
Thu Feb 23 04:06:17 EST 2012


----------------------------------------------------------------------
Revision: 6ed841c1a79190262c818b9b0c279a004441ccf0
Parent:   bafe27dd2fa9bceb9ee987e5853ef1511604c37e
Author:   qulogic at pidgin.im
Date:     02/23/12 00:35:11
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/6ed841c1a79190262c818b9b0c279a004441ccf0

Changelog: 

Update HTML in the Developer Information dialog.

Changes against parent bafe27dd2fa9bceb9ee987e5853ef1511604c37e

  patched  pidgin/gtkdialogs.c

-------------- next part --------------
============================================================
--- pidgin/gtkdialogs.c	cf368cf29f455b664800fd81543ec62a01356720
+++ pidgin/gtkdialogs.c	dd56a763ec162b3d6643878e28bf8959e6567f82
@@ -329,13 +329,13 @@ add_developers(GString *str, const struc
 {
 	for (; list->name != NULL; list++) {
 		if (list->email != NULL) {
-			g_string_append_printf(str, "  <a href=\"mailto:%s\">%s</a>%s%s%s<br/>",
+			g_string_append_printf(str, "<li><a href=\"mailto:%s\">%s</a>%s%s%s</li>",
 			                       list->email, _(list->name),
 			                       list->role ? " (" : "",
 			                       list->role ? _(list->role) : "",
 			                       list->role ? ")" : "");
 		} else {
-			g_string_append_printf(str, "  %s%s%s%s<br/>",
+			g_string_append_printf(str, "<li>%s%s%s%s</li>",
 			                       _(list->name),
 			                       list->role ? " (" : "",
 			                       list->role ? _(list->role) : "",
@@ -737,27 +737,28 @@ void pidgin_dialogs_developers(void)
 	str = g_string_sized_new(4096);
 
 	/* Current Developers */
-	g_string_append_printf(str, "<FONT SIZE=\"4\"><B>%s:</B></FONT><BR/>",
+	g_string_append_printf(str, "<h3>%s</h3><ul>",
 						   _("Current Developers"));
 	add_developers(str, developers);
-	g_string_append(str, "<BR/>");
+	g_string_append(str, "</ul>");
 
 	/* Crazy Patch Writers */
-	g_string_append_printf(str, "<FONT SIZE=\"4\"><B>%s:</B></FONT><BR/>",
+	g_string_append_printf(str, "<h3>%s</h3><ul>",
 						   _("Crazy Patch Writers"));
 	add_developers(str, patch_writers);
-	g_string_append(str, "<BR/>");
+	g_string_append(str, "</ul>");
 
 	/* Retired Developers */
-	g_string_append_printf(str, "<FONT SIZE=\"4\"><B>%s:</B></FONT><BR/>",
+	g_string_append_printf(str, "<h3>%s</h3><ul>",
 						   _("Retired Developers"));
 	add_developers(str, retired_developers);
-	g_string_append(str, "<BR/>");
+	g_string_append(str, "</ul>");
 
 	/* Retired Crazy Patch Writers */
-	g_string_append_printf(str, "<FONT SIZE=\"4\"><B>%s:</B></FONT><BR/>",
+	g_string_append_printf(str, "<h3>%s</h3><ul>",
 						   _("Retired Crazy Patch Writers"));
 	add_developers(str, retired_patch_writers);
+	g_string_append(str, "</ul>");
 
 	tmp = g_strdup_printf(_("%s Developer Information"), PIDGIN_NAME);
 	developer_info = pidgin_build_help_dialog(tmp, "developer_info", str);


More information about the Commits mailing list