mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-20 20:45:02 -05:00
Widen the GTK askalg() message box.
In GTK3, the line 'Continue with connection?' got wrapped (in spite of my attempt to enforce via string_width() that it didn't - probably a few pixels were needed on top of that for various padding and furniture) so it looked even sillier. But it looked a bit narrow to be sensible even in GTK2, so the simplest answer is just to widen it considerably.
This commit is contained in:
parent
10d3b73d33
commit
1bdeff715c
@ -3520,7 +3520,8 @@ int askalg(void *frontend, const char *algtype, const char *algname,
|
|||||||
text = dupprintf(msg, algtype, algname);
|
text = dupprintf(msg, algtype, algname);
|
||||||
ret = messagebox(GTK_WIDGET(get_window(frontend)),
|
ret = messagebox(GTK_WIDGET(get_window(frontend)),
|
||||||
"PuTTY Security Alert", text,
|
"PuTTY Security Alert", text,
|
||||||
string_width("Continue with connection?"),
|
string_width("Reasonably long line of text as a width"
|
||||||
|
" template"),
|
||||||
"Yes", 'y', 0, 1,
|
"Yes", 'y', 0, 1,
|
||||||
"No", 'n', 0, 0,
|
"No", 'n', 0, 0,
|
||||||
NULL);
|
NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user