diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-07 21:50:39 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-07 21:54:33 (EST) |
commit | de28e372c6ca08ab20ac57e452f559f2eac233b8 (patch) | |
tree | 412fa38e3520a1ac1b1c7ee4ae080e0e6b5b8d1d /src/schemes/about | |
parent | efee8fab5d1f605b310404b8feaba8717ac209e6 (diff) | |
download | marquee-de28e372c6ca08ab20ac57e452f559f2eac233b8.zip marquee-de28e372c6ca08ab20ac57e452f559f2eac233b8.tar.gz marquee-de28e372c6ca08ab20ac57e452f559f2eac233b8.tar.bz2 |
about:profiles: Add "Launch" buttons
Diffstat (limited to 'src/schemes/about')
-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 0d499d1..e4e23ad 100644 --- a/src/schemes/about/profiles.c +++ b/src/schemes/about/profiles.c @@ -244,6 +244,7 @@ generate_div(MqProfiles *profiles, gchar *id) gchar *editing_str; gchar *name_str; gchar *color_str; + gchar *launch_str; gchar *default_str; gchar *delete_str; gchar *save_str; @@ -264,6 +265,7 @@ generate_div(MqProfiles *profiles, gchar *id) editing_str = g_strconcat("editing_", id, NULL); name_str = g_strconcat("name_", id, NULL); color_str = g_strconcat("color_", id, NULL); + launch_str = g_strconcat("launch_", id, NULL); default_str = g_strconcat("default_", id, NULL); delete_str = g_strconcat("delete_", id, NULL); save_str = g_strconcat("save_", id, NULL); @@ -296,6 +298,7 @@ generate_div(MqProfiles *profiles, gchar *id) mq_html_container("span", is_current ? "current" : NULL, name, NULL), mq_html_input_text(name_str, NULL, name), + mq_html_submit(launch_str, "Launch", FALSE), mq_html_submit(default_str, "Make Default", !id || mq_profiles_is_default(profiles, id)), mq_html_submit(delete_str, "Delete", FALSE), @@ -305,6 +308,7 @@ generate_div(MqProfiles *profiles, gchar *id) g_free(editing_str); g_free(name_str); + g_free(launch_str); g_free(default_str); g_free(delete_str); g_free(save_str); |