diff options
-rw-r--r-- | src/about/version.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/about/version.c b/src/about/version.c index 90be0aa..ff1a375 100644 --- a/src/about/version.c +++ b/src/about/version.c @@ -34,11 +34,6 @@ extern const char *PACKAGE_VERSION_GIT; -static gchar *authors[] = { - "Patrick McDermott <pj@pehjota.net>", - NULL -}; - void mq_about_version_response(MqApplication G_GNUC_UNUSED *application, GHashTable G_GNUC_UNUSED *query, @@ -50,15 +45,18 @@ mq_about_version_response(MqApplication G_GNUC_UNUSED *application, title = g_strdup_printf("About %s", PACKAGE_NAME); document = mq_html_document(title, mq_html_notebook(FALSE, "notebook1", 0, - g_strdup_printf("<h3 style=\"text-align: center;\">%s" - "</h3><p style=\"text-align: center;\">%s</p>" - "<p style=\"text-align: center;\">" - "© 2017 Patrick McDermott</p>", - PACKAGE_NAME, PACKAGE_VERSION_GIT), + mq_html_container("div", + mq_html_h3(NULL, PACKAGE_NAME), + mq_html_p(NULL, PACKAGE_VERSION_GIT), + mq_html_p(NULL, + "© 2017 Patrick McDermott"), + NULL), "About", mq_html_container("div", mq_html_h3(NULL, "Authors"), - mq_html_list_v(NULL, authors), + mq_html_p(NULL, + "Patrick McDermott " + "<pj@pehjota.net>"), NULL), "Credits", g_strdup(mq_gpl_3_0_html()), |