mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 18:07:59 +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,
|
translationpanelend,
|
||||||
|
|
||||||
tunnelspanelstart,
|
tunnelspanelstart,
|
||||||
|
IDC_TITLE_TUNNELS,
|
||||||
IDC_BOX_TUNNELS, IDC_BOXT_TUNNELS,
|
IDC_BOX_TUNNELS, IDC_BOXT_TUNNELS,
|
||||||
IDC_X11_FORWARD,
|
IDC_X11_FORWARD,
|
||||||
IDC_X11_DISPSTATIC,
|
IDC_X11_DISPSTATIC,
|
||||||
@ -1080,16 +1081,18 @@ static int GenericMainDlgProc (HWND hwnd, UINT msg,
|
|||||||
}
|
}
|
||||||
/* The Tunnels panel. Accelerators used: [acgo] ex */
|
/* The Tunnels panel. Accelerators used: [acgo] ex */
|
||||||
{
|
{
|
||||||
struct ctlpos tp;
|
struct ctlpos cp;
|
||||||
ctlposinit(&tp, hwnd, 80, 3, 13);
|
ctlposinit(&cp, hwnd, 80, 3, 13);
|
||||||
if (dlgtype == 0) {
|
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);
|
IDC_BOX_TUNNELS, IDC_BOXT_TUNNELS);
|
||||||
checkbox(&tp, "&Enable X11 forwarding",
|
checkbox(&cp, "&Enable X11 forwarding",
|
||||||
IDC_X11_FORWARD);
|
IDC_X11_FORWARD);
|
||||||
multiedit(&tp, "&X display location", IDC_X11_DISPSTATIC,
|
multiedit(&cp, "&X display location", IDC_X11_DISPSTATIC,
|
||||||
IDC_X11_DISPLAY, 50, NULL);
|
IDC_X11_DISPLAY, 50, NULL);
|
||||||
endbox(&tp);
|
endbox(&cp);
|
||||||
|
|
||||||
treeview_insert(&tvfaff, 2, "Tunnels");
|
treeview_insert(&tvfaff, 2, "Tunnels");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user