From efee8fab5d1f605b310404b8feaba8717ac209e6 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 07 Nov 2017 21:48:41 -0500 Subject: about:profiles: Handle "launch_" query keys --- (limited to 'src/schemes/about') 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; } } -- cgit v0.9.1