diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-01 05:48:50 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-01 05:48:50 (EDT) |
commit | 1ecfb7a5aa35a3ccf91486b8292ac6efb5c0d1d0 (patch) | |
tree | 4bf2602bf8a0f986f4cb4d437aaba4e578456fb7 /src/about | |
parent | c6916781d566bb027e6873f4d99abbde274df200 (diff) | |
download | marquee-1ecfb7a5aa35a3ccf91486b8292ac6efb5c0d1d0.zip marquee-1ecfb7a5aa35a3ccf91486b8292ac6efb5c0d1d0.tar.gz marquee-1ecfb7a5aa35a3ccf91486b8292ac6efb5c0d1d0.tar.bz2 |
about:(version): Drop query handling
Diffstat (limited to 'src/about')
-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); } |