mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 07:38:06 -05:00
Windows sets automatic tabs in list boxes, but GTK doesn't, so we
should make the tab stop in the forwarded-ports list explicit. [originally from svn r2937]
This commit is contained in:
parent
03a7096b3c
commit
097fbefa82
4
config.c
4
config.c
@ -1484,6 +1484,10 @@ void setup_config_box(struct controlbox *b, struct sesslist *sesslist,
|
||||
HELPCTX(ssh_tunnels_portfwd),
|
||||
portfwd_handler, P(pfd));
|
||||
pfd->listbox->listbox.height = 3;
|
||||
pfd->listbox->listbox.ncols = 2;
|
||||
pfd->listbox->listbox.percentages = smalloc(2*sizeof(int));
|
||||
pfd->listbox->listbox.percentages[0] = 20;
|
||||
pfd->listbox->listbox.percentages[1] = 80;
|
||||
ctrl_tabdelay(s, pfd->rembutton);
|
||||
ctrl_text(s, "Add new forwarded port:", HELPCTX(ssh_tunnels_portfwd));
|
||||
/* You want to enter source, destination and type, _then_ hit Add.
|
||||
|
Loading…
x
Reference in New Issue
Block a user