diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-29 18:12:28 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-29 18:12:28 (EDT) |
commit | d6db5773d73f194f29d746bc9f040f9555786de9 (patch) | |
tree | 41be92ce15e58477de73f869eefe63be34641fca /src/about | |
parent | fbf262925f1a99e618006041a5d39dd2cdf18f03 (diff) | |
download | marquee-d6db5773d73f194f29d746bc9f040f9555786de9.zip marquee-d6db5773d73f194f29d746bc9f040f9555786de9.tar.gz marquee-d6db5773d73f194f29d746bc9f040f9555786de9.tar.bz2 |
about:marquee: Redirect to "mq-about:marquee" on toggle
Diffstat (limited to 'src/about')
-rw-r--r-- | src/about/marquee.c | 7 |
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")); } |