1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-03 20:42:48 -05:00

Make the askappend() prompt non-modal.

This fits into a new dialog-box slot (because it might have to come up
at the same time as a network prompt), and makes use of the existing
callback system in logging.c which buffers the logging data until the
user says what they want done with it.
This commit is contained in:
Simon Tatham
2017-11-26 16:56:03 +00:00
parent 86741a1b09
commit b6ed82321c
2 changed files with 32 additions and 19 deletions

View File

@ -152,6 +152,7 @@ GtkWidget *get_window(void *frontend);
enum DialogSlot {
DIALOG_SLOT_RECONFIGURE,
DIALOG_SLOT_NETWORK_PROMPT,
DIALOG_SLOT_LOGFILE_PROMPT,
DIALOG_SLOT_LIMIT /* must remain last */
};
void register_dialog(void *frontend, enum DialogSlot slot, GtkWidget *dialog);