1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Make the Licence message box non-modal.

This commit is contained in:
Simon Tatham 2017-11-26 17:32:01 +00:00
parent a8e9fd7860
commit d1f62c3e0f

View File

@ -3751,10 +3751,10 @@ static void licence_clicked(GtkButton *button, gpointer data)
title = dupcat(appname, " Licence", NULL);
assert(aboutbox != NULL);
message_box(aboutbox, title, LICENCE_TEXT("\n\n"),
string_width("LONGISH LINE OF TEXT SO THE LICENCE"
" BOX ISN'T EXCESSIVELY TALL AND THIN"),
TRUE, &buttons_ok);
create_message_box(aboutbox, title, LICENCE_TEXT("\n\n"),
string_width("LONGISH LINE OF TEXT SO THE LICENCE"
" BOX ISN'T EXCESSIVELY TALL AND THIN"),
TRUE, &buttons_ok, trivial_post_dialog_fn, NULL);
sfree(title);
}