summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-07 21:48:41 (EST)
committer Patrick McDermott <pj@pehjota.net>2017-11-07 21:48:41 (EST)
commitefee8fab5d1f605b310404b8feaba8717ac209e6 (patch)
tree0939b7d649cc128e80b2f1cccab2cb1eb31c33c4 /src
parent8f23303b6463ae260b1cba41602c583df502e7f6 (diff)
downloadmarquee-efee8fab5d1f605b310404b8feaba8717ac209e6.zip
marquee-efee8fab5d1f605b310404b8feaba8717ac209e6.tar.gz
marquee-efee8fab5d1f605b310404b8feaba8717ac209e6.tar.bz2
about:profiles: Handle "launch_" query keys
Diffstat (limited to 'src')
-rw-r--r--src/schemes/about/profiles.c4
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;
}
}