diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-11 10:57:07 (EST) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-11 10:57:07 (EST) |
commit | 3f481c97cf4982ff083209ddbbc167b688eba617 (patch) | |
tree | 471842dd322d567c6871b2130acd9f1a0718310f /src/schemes/about | |
parent | 8296eb1013e11742ad8ae08385f96d7ecede8b3c (diff) | |
download | marquee-3f481c97cf4982ff083209ddbbc167b688eba617.zip marquee-3f481c97cf4982ff083209ddbbc167b688eba617.tar.gz marquee-3f481c97cf4982ff083209ddbbc167b688eba617.tar.bz2 |
about:profiles: Disable "Launch" button on new profile
Diffstat (limited to 'src/schemes/about')
-rw-r--r-- | src/schemes/about/profiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/schemes/about/profiles.c b/src/schemes/about/profiles.c index 1fc59db..4b2a1d6 100644 --- a/src/schemes/about/profiles.c +++ b/src/schemes/about/profiles.c @@ -300,7 +300,7 @@ generate_div(MqProfiles *profiles, gchar *id) NULL), mq_html_input_text(name_str, NULL, name, id == NULL), mq_html_container("script", NULL, g_strdup(cp_script), NULL), - mq_html_submit(launch_str, "Launch", FALSE), + mq_html_submit(launch_str, "Launch", !id), mq_html_submit(default_str, "Make Default", !id || mq_profiles_is_default(profiles, id)), mq_html_submit(delete_str, "Delete", is_current), |