mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Added keyboard shortcuts on the system menu.
I haven't tried to compile it, but the changes are trivial. [originally from svn r345]
This commit is contained in:
parent
929935d05b
commit
ba279cafd0
16
window.c
16
window.c
@ -357,21 +357,21 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) {
|
||||
AppendMenu (m, MF_POPUP | MF_ENABLED, (UINT) p, "Telnet Command");
|
||||
AppendMenu (m, MF_SEPARATOR, 0, 0);
|
||||
}
|
||||
AppendMenu (m, MF_ENABLED, IDM_SHOWLOG, "Event Log");
|
||||
AppendMenu (m, MF_ENABLED, IDM_SHOWLOG, "&Event Log");
|
||||
AppendMenu (m, MF_SEPARATOR, 0, 0);
|
||||
AppendMenu (m, MF_ENABLED, IDM_NEWSESS, "New Session");
|
||||
AppendMenu (m, MF_ENABLED, IDM_DUPSESS, "Duplicate Session");
|
||||
AppendMenu (m, MF_ENABLED, IDM_NEWSESS, "Ne&w Session");
|
||||
AppendMenu (m, MF_ENABLED, IDM_DUPSESS, "&Duplicate Session");
|
||||
s = CreateMenu();
|
||||
get_sesslist(TRUE);
|
||||
for (i = 1 ; i < ((nsessions < 256) ? nsessions : 256) ; i++)
|
||||
AppendMenu (s, MF_ENABLED, IDM_SAVED_MIN + (16 * i) , sessions[i]);
|
||||
AppendMenu (m, MF_POPUP | MF_ENABLED, (UINT) s, "Saved Sessions");
|
||||
AppendMenu (m, MF_ENABLED, IDM_RECONF, "Change Settings");
|
||||
AppendMenu (m, MF_POPUP | MF_ENABLED, (UINT) s, "Sa&ved Sessions");
|
||||
AppendMenu (m, MF_ENABLED, IDM_RECONF, "Chan&ge Settings");
|
||||
AppendMenu (m, MF_SEPARATOR, 0, 0);
|
||||
AppendMenu (m, MF_ENABLED, IDM_CLRSB, "Clear Scrollback");
|
||||
AppendMenu (m, MF_ENABLED, IDM_RESET, "Reset Terminal");
|
||||
AppendMenu (m, MF_ENABLED, IDM_CLRSB, "C&lear Scrollback");
|
||||
AppendMenu (m, MF_ENABLED, IDM_RESET, "Rese&t Terminal");
|
||||
AppendMenu (m, MF_SEPARATOR, 0, 0);
|
||||
AppendMenu (m, MF_ENABLED, IDM_ABOUT, "About PuTTY");
|
||||
AppendMenu (m, MF_ENABLED, IDM_ABOUT, "&About PuTTY");
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user