mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Add a title to the Tunnels panel
[originally from svn r880]
This commit is contained in:
parent
c9c214d1e4
commit
a9ff0485c0
15
windlg.c
15
windlg.c
@ -402,6 +402,7 @@ enum { IDCX_ABOUT = IDC_ABOUT, IDCX_TVSTATIC, IDCX_TREEVIEW, controlstartvalue,
|
||||
translationpanelend,
|
||||
|
||||
tunnelspanelstart,
|
||||
IDC_TITLE_TUNNELS,
|
||||
IDC_BOX_TUNNELS, IDC_BOXT_TUNNELS,
|
||||
IDC_X11_FORWARD,
|
||||
IDC_X11_DISPSTATIC,
|
||||
@ -1080,16 +1081,18 @@ static int GenericMainDlgProc (HWND hwnd, UINT msg,
|
||||
}
|
||||
/* The Tunnels panel. Accelerators used: [acgo] ex */
|
||||
{
|
||||
struct ctlpos tp;
|
||||
ctlposinit(&tp, hwnd, 80, 3, 13);
|
||||
struct ctlpos cp;
|
||||
ctlposinit(&cp, hwnd, 80, 3, 13);
|
||||
if (dlgtype == 0) {
|
||||
beginbox(&tp, "X11 forwarding options",
|
||||
bartitle(&cp, "Options controlling SSH tunnelling",
|
||||
IDC_TITLE_TUNNELS);
|
||||
beginbox(&cp, "X11 forwarding options",
|
||||
IDC_BOX_TUNNELS, IDC_BOXT_TUNNELS);
|
||||
checkbox(&tp, "&Enable X11 forwarding",
|
||||
checkbox(&cp, "&Enable X11 forwarding",
|
||||
IDC_X11_FORWARD);
|
||||
multiedit(&tp, "&X display location", IDC_X11_DISPSTATIC,
|
||||
multiedit(&cp, "&X display location", IDC_X11_DISPSTATIC,
|
||||
IDC_X11_DISPLAY, 50, NULL);
|
||||
endbox(&tp);
|
||||
endbox(&cp);
|
||||
|
||||
treeview_insert(&tvfaff, 2, "Tunnels");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user