mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Fixed accelerator clash between "Conversions" menu and "key comment" control
(former is now "Con&versions"). Add shortcut to key fingerprint for ease of copy-and-paste. [originally from svn r3215]
This commit is contained in:
parent
9ebeefa470
commit
fa0fa6d17d
@ -857,7 +857,7 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg,
|
|||||||
AppendMenu(menu1, MF_ENABLED, IDC_EXPORT_SSHCOM,
|
AppendMenu(menu1, MF_ENABLED, IDC_EXPORT_SSHCOM,
|
||||||
"Export &ssh.com key");
|
"Export &ssh.com key");
|
||||||
AppendMenu(menu, MF_POPUP | MF_ENABLED, (UINT) menu1,
|
AppendMenu(menu, MF_POPUP | MF_ENABLED, (UINT) menu1,
|
||||||
"&Conversions");
|
"Con&versions");
|
||||||
state->cvtmenu = menu1;
|
state->cvtmenu = menu1;
|
||||||
|
|
||||||
menu1 = CreateMenu();
|
menu1 = CreateMenu();
|
||||||
@ -900,7 +900,7 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg,
|
|||||||
"&Public key for pasting into authorized_keys file:",
|
"&Public key for pasting into authorized_keys file:",
|
||||||
IDC_PKSTATIC, IDC_KEYDISPLAY, 5);
|
IDC_PKSTATIC, IDC_KEYDISPLAY, 5);
|
||||||
SendDlgItemMessage(hwnd, IDC_KEYDISPLAY, EM_SETREADONLY, 1, 0);
|
SendDlgItemMessage(hwnd, IDC_KEYDISPLAY, EM_SETREADONLY, 1, 0);
|
||||||
staticedit(&cp, "Key fingerprint:", IDC_FPSTATIC,
|
staticedit(&cp, "Key f&ingerprint:", IDC_FPSTATIC,
|
||||||
IDC_FINGERPRINT, 75);
|
IDC_FINGERPRINT, 75);
|
||||||
SendDlgItemMessage(hwnd, IDC_FINGERPRINT, EM_SETREADONLY, 1,
|
SendDlgItemMessage(hwnd, IDC_FINGERPRINT, EM_SETREADONLY, 1,
|
||||||
0);
|
0);
|
||||||
|
Loading…
Reference in New Issue
Block a user