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:
parent
a8e9fd7860
commit
d1f62c3e0f
@ -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"),
|
||||
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);
|
||||
TRUE, &buttons_ok, trivial_post_dialog_fn, NULL);
|
||||
sfree(title);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user