Mercurial > pidgin
changeset 32546:5558d0751d75
Update the HTML in the Plugin Information dialog.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 23 Feb 2012 06:47:57 +0000 |
parents | efb369d5ff29 |
children | b5f233a14ba2 |
files | pidgin/gtkdialogs.c |
diffstat | 1 files changed, 13 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkdialogs.c Thu Feb 23 06:23:50 2012 +0000 +++ b/pidgin/gtkdialogs.c Thu Feb 23 06:47:57 2012 +0000 @@ -814,8 +814,7 @@ str = g_string_sized_new(4096); - g_string_append_printf(str, "<FONT SIZE=\"4\">%s</FONT><BR/>", - _("Plugin Information")); + g_string_append_printf(str, "<h2>%s</h2><dl>", _("Plugin Information")); for(l = purple_plugins_get_all(); l; l = l->next) { plugin = (PurplePlugin *)l->data; @@ -830,19 +829,25 @@ ploaded = purple_plugin_is_loaded(plugin); g_string_append_printf(str, - "<FONT SIZE=\"3\"><B>%s</B></FONT><BR/><FONT SIZE=\"2\">" - "\t<B>Author:</B> %s<BR/>\t<B>Version:</B> %s<BR/>" - "\t<B>Website:</B> %s<BR/>\t<B>ID String:</B> %s<BR/>" - "\t<B>Loadable:</B> %s<BR/>\t<B>Loaded:</B> %s<BR/>" - "<BR/></FONT>", pname, pauthor ? pauthor : "(null)", + "<dt>%s</dt><dd>" + "<b>Author:</b> %s<br/>" + "<b>Version:</b> %s<br/>" + "<b>Website:</b> %s<br/>" + "<b>ID String:</b> %s<br/>" + "<b>Loadable:</b> %s<br/>" + "<b>Loaded:</b> %s" + "</dd><br/>", + pname, pauthor ? pauthor : "(null)", pver, pwebsite, pid, - punloadable ? "<FONT COLOR=\"#FF0000\"><B>No</B></FONT>" : "Yes", + punloadable ? "<span style=\"color: #FF0000;\"><b>No</b></span>" : "Yes", ploaded ? "Yes" : "No"); g_free(pname); g_free(pauthor); } + g_string_append(str, "</dl>"); + plugins_info = pidgin_build_help_dialog(title, "plugins_info", str); g_signal_connect(G_OBJECT(plugins_info), "destroy", G_CALLBACK(gtk_widget_destroyed), &plugins_info);