diff options
-rw-r--r-- | src/about/version.c | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/src/about/version.c b/src/about/version.c index 38eb13a..c033e20 100644 --- a/src/about/version.c +++ b/src/about/version.c @@ -727,28 +727,23 @@ mq_about_version_response(MqApplication __attribute__((unused)) *application, gchar *title; gchar *document; - if (query) { - mq_about_redirect(request, "mq-about:preferences"); - } else { - 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), - "About", - g_strdup("<h3>Authors:</h3>" - "<p>Patrick McDermott " - "<pj@pehjota.net></p>"), - "Credits", - g_strdup(gpl_3_0_html), - "License", - NULL), - NULL); - g_free(title); - mq_about_response(request, document); - } + 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), + "About", + g_strdup("<h3>Authors:</h3>" + "<p>Patrick McDermott " + "<pj@pehjota.net></p>"), + "Credits", + g_strdup(gpl_3_0_html), + "License", + NULL), + NULL); + g_free(title); + mq_about_response(request, document); } |