Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Use two rows for "Connection type" in Session menu #27

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+5 −5
Split
View
@@ -1266,7 +1266,7 @@ void setup_config_box(struct controlbox *b, int midsession,
ctrl_columns(s, 1, 100);
if (!backend_from_proto(PROT_SSH)) {
- ctrl_radiobuttons(s, "Connection type:", NO_SHORTCUT, 4,
+ ctrl_radiobuttons(s, "Connection type:", NO_SHORTCUT, 3,
HELPCTX(session_hostname),
config_protocolbuttons_handler, P(hp),
"Raw", 'w', I(PROT_RAW),
@@ -1275,7 +1275,7 @@ void setup_config_box(struct controlbox *b, int midsession,
"Rlogin", 'i', I(PROT_RLOGIN),
NULL);
} else {
- ctrl_radiobuttons(s, "Connection type:", NO_SHORTCUT, 5,
+ ctrl_radiobuttons(s, "Connection type:", NO_SHORTCUT, 3,
HELPCTX(session_hostname),
config_protocolbuttons_handler, P(hp),
"Raw", 'w', I(PROT_RAW),
View
@@ -31,7 +31,7 @@ BEGIN
END
/* Accelerators used: aco */
-IDD_MAINBOX DIALOG DISCARDABLE 0, 0, 300, 252
+IDD_MAINBOX DIALOG DISCARDABLE 0, 0, 300, 262
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "PuTTY Configuration"
FONT 8, "MS Shell Dlg"
View
@@ -341,7 +341,7 @@ static void create_controls(HWND hwnd, char *path)
/*
* Here we must create the basic standard controls.
*/
- ctlposinit(&cp, hwnd, 3, 3, 235);
+ ctlposinit(&cp, hwnd, 3, 3, 245);
wc = &ctrls_base;
base_id = IDCX_STDBASE;
} else {
@@ -430,7 +430,7 @@ static int CALLBACK GenericMainDlgProc(HWND hwnd, UINT msg,
r.left = 3;
r.right = r.left + 95;
r.top = 13;
- r.bottom = r.top + 219;
+ r.bottom = r.top + 229;
MapDialogRect(hwnd, &r);
treeview = CreateWindowEx(WS_EX_CLIENTEDGE, WC_TREEVIEW, "",
WS_CHILD | WS_VISIBLE |