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:
Jacob Nevins 2003-05-24 18:02:49 +00:00
Родитель 9ebeefa470
Коммит fa0fa6d17d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -857,7 +857,7 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg,
AppendMenu(menu1, MF_ENABLED, IDC_EXPORT_SSHCOM,
"Export &ssh.com key");
AppendMenu(menu, MF_POPUP | MF_ENABLED, (UINT) menu1,
"&Conversions");
"Con&versions");
state->cvtmenu = menu1;
menu1 = CreateMenu();
@ -900,7 +900,7 @@ static int CALLBACK MainDlgProc(HWND hwnd, UINT msg,
"&Public key for pasting into authorized_keys file:",
IDC_PKSTATIC, IDC_KEYDISPLAY, 5);
SendDlgItemMessage(hwnd, IDC_KEYDISPLAY, EM_SETREADONLY, 1, 0);
staticedit(&cp, "Key fingerprint:", IDC_FPSTATIC,
staticedit(&cp, "Key f&ingerprint:", IDC_FPSTATIC,
IDC_FINGERPRINT, 75);
SendDlgItemMessage(hwnd, IDC_FINGERPRINT, EM_SETREADONLY, 1,
0);