pidgin: 1e52fcb1: Use better HTML in the About dialog. Sin...

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


----------------------------------------------------------------------
Revision: 1e52fcb1f5d6ada0aafd01545977c04c076f17d6
Parent:   e5c1f4c8f64f73d03da91b5614384c1f5d61cc31
Author:   qulogic at pidgin.im
Date:     02/22/12 23:57:16
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/1e52fcb1f5d6ada0aafd01545977c04c076f17d6

Changelog: 

Use better HTML in the About dialog. Since WebKit is rendering this
now, we can use a few more descriptive tags.

Changes against parent e5c1f4c8f64f73d03da91b5614384c1f5d61cc31

  patched  pidgin/gtkdialogs.c

-------------- next part --------------
============================================================
--- pidgin/gtkdialogs.c	83cfdc8abe96357742dccea9b07daffcb64a61c5
+++ pidgin/gtkdialogs.c	44e5b525975c92bbda402a173ddc7a93c10a9d27
@@ -485,37 +485,42 @@ void pidgin_dialogs_about(void)
 	str = g_string_sized_new(4096);
 
 	g_string_append_printf(str,
-		"<CENTER><FONT SIZE=\"4\"><B>%s %s</B></FONT></CENTER> (libpurple %s)"
-		"<BR>%s<BR><BR>", PIDGIN_NAME, DISPLAY_VERSION,
+		"<h2>%s %s</h2>"
+		"<strong>(libpurple %s)<br/>%s</strong>",
+		PIDGIN_NAME, DISPLAY_VERSION,
 		purple_core_get_version(), REVISION);
 
 	g_string_append_printf(str,
-		_("%s is a messaging client based on libpurple which is capable of "
+		_("<p>%s is a messaging client based on libpurple which is capable of "
 		  "connecting to multiple messaging services at once.  %s is written "
 		  "in C using GTK+.  %s is released, and may be modified and "
 		  "redistributed,  under the terms of the GPL version 2 (or later).  "
 		  "A copy of the GPL is distributed with %s.  %s is copyrighted by "
 		  "its contributors, a list of whom is also distributed with %s.  "
-		  "There is no warranty for %s.<BR><BR>"), PIDGIN_NAME, PIDGIN_NAME,
+		  "There is no warranty for %s.</p>"), PIDGIN_NAME, PIDGIN_NAME,
 		PIDGIN_NAME, PIDGIN_NAME, PIDGIN_NAME, PIDGIN_NAME, PIDGIN_NAME);
 
 	g_string_append_printf(str,
-			_("<FONT SIZE=\"4\"><B>Helpful Resources</B></FONT><BR>\t<A "
-			  "HREF=\"%s\">Website</A><BR>\t<A HREF=\"%s\">Frequently Asked "
-			  "Questions</A><BR>\tIRC Channel: #pidgin on irc.freenode.net<BR>"
-			  "\tXMPP MUC: devel at conference.pidgin.im<BR><BR>"), PURPLE_WEBSITE,
+			_("<h3>Helpful Resources</h3>"
+			  "<ul>"
+			  "<li><a href=\"%s\">Website</a></li>"
+			  "<li><a href=\"%s\">Frequently Asked Questions</a></li>"
+			  "<li>IRC Channel: #pidgin on irc.freenode.net</li>"
+			  "<li>XMPP MUC: devel at conference.pidgin.im</li>"
+			  "</ul>"),
+			PURPLE_WEBSITE,
 			"http://developer.pidgin.im/wiki/FAQ");
 
 	g_string_append_printf(str,
-			_("<font size=\"4\"><b>Help from other Pidgin users</b></font> is "
-			  "available by e-mailing <a "
-			  "href=\"mailto:support at pidgin.im\">support at pidgin.im</a><br/>"
-			  "This is a <b>public</b> mailing list! "
+			_("<p><strong>Help from other Pidgin users</strong> is available "
+			  "by e-mailing <a "
+			  "href=\"mailto:support at pidgin.im\">support at pidgin.im</a>.<br/>"
+			  "This is a <strong>public</strong> mailing list! "
 			  "(<a href=\"http://pidgin.im/pipermail/support/\">archive</a>)<br/>"
 			  "We can't help with third-party protocols or plugins!<br/>"
-			  "This list's primary language is <b>English</b>.  You are "
-			  "welcome to post in another language, but the responses may "
-			  "be less helpful.<br/>"));
+			  "This list's primary language is <strong>English</strong>.  You "
+			  "are welcome to post in another language, but the responses may "
+			  "be less helpful.</p>"));
 
 	tmp = g_strdup_printf(_("About %s"), PIDGIN_NAME);
 	about = pidgin_build_help_dialog(tmp, "about", str);


More information about the Commits mailing list