summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-29 18:12:28 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-29 18:12:28 (EDT)
commitd6db5773d73f194f29d746bc9f040f9555786de9 (patch)
tree41be92ce15e58477de73f869eefe63be34641fca /src
parentfbf262925f1a99e618006041a5d39dd2cdf18f03 (diff)
downloadmarquee-d6db5773d73f194f29d746bc9f040f9555786de9.zip
marquee-d6db5773d73f194f29d746bc9f040f9555786de9.tar.gz
marquee-d6db5773d73f194f29d746bc9f040f9555786de9.tar.bz2
about:marquee: Redirect to "mq-about:marquee" on toggle
Diffstat (limited to 'src')
-rw-r--r--src/about/marquee.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/about/marquee.c b/src/about/marquee.c
index c076e24..ce8beea 100644
--- a/src/about/marquee.c
+++ b/src/about/marquee.c
@@ -50,8 +50,9 @@ mq_about_marquee_response(MqApplication *application, GHashTable *query,
} else {
mq_application_marquee_mode_activate(application);
}
+ mq_about_redirect(request, "mq-about:marquee");
+ } else {
+ mq_about_response(request, g_strdup_printf(document,
+ "DANGER", "DO NOT PRESS"));
}
-
- mq_about_response(request, g_strdup_printf(document,
- "DANGER", "DO NOT PRESS"));
}