diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-07 21:48:41 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-07 21:48:41 (EST) |
commit | efee8fab5d1f605b310404b8feaba8717ac209e6 (patch) | |
tree | 0939b7d649cc128e80b2f1cccab2cb1eb31c33c4 | |
parent | 8f23303b6463ae260b1cba41602c583df502e7f6 (diff) | |
download | marquee-efee8fab5d1f605b310404b8feaba8717ac209e6.zip marquee-efee8fab5d1f605b310404b8feaba8717ac209e6.tar.gz marquee-efee8fab5d1f605b310404b8feaba8717ac209e6.tar.bz2 |
about:profiles: Handle "launch_" query keys
-rw-r--r-- | src/schemes/about/profiles.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/schemes/about/profiles.c b/src/schemes/about/profiles.c index d48657d..0d499d1 100644 --- a/src/schemes/about/profiles.c +++ b/src/schemes/about/profiles.c @@ -393,6 +393,10 @@ edit_profiles(MqProfiles *profiles, GHashTable *query) } mq_profiles_save(profiles); break; + } else if (g_str_has_prefix(key->data, "launch_")) { + id = (gchar *) key->data + strlen("launch_"); + mq_profile_launch(id); + break; } } |