Skip to content
Snippets Groups Projects
Commit 0276c7b8c55e authored by qwerty987321's avatar qwerty987321
Browse files

fixed the issue #1566 of thg: added accelerator keys to the most used context...

fixed the issue #1566 of thg: added accelerator keys to the most used context menu commands in CShellExtCMenu.cpp

--HG--
branch : qwerty987321/fixed-the-issue-1566-of-thg-added-accele-1440426743638
parent 39880909e95c
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
static const MenuDescription CMenuMenuDescList[] =
{
{L"commit", L"Commit...",
{L"commit", L"&Commit...",
L"Commit changes in repository",
L"menucommit.ico", 0},
{L"init", L"Create Repository Here",
......@@ -28,37 +28,37 @@ static const MenuDescription CMenuMenuDescList[] =
{L"clone", L"Clone...",
L"Create clone here from source",
L"menuclone.ico", 0},
{L"shelve", L"Shelve Changes",
{L"shelve", L"&Shelve Changes",
L"Shelve or unshelve file changes",
L"shelve.ico", 0},
{L"status", L"View File Status",
{L"status", L"View File S&tatus",
L"Repository status & changes",
L"menushowchanged.ico", 0},
{L"add", L"Add Files...",
{L"add", L"&Add Files...",
L"Add files to version control",
L"menuadd.ico", 0},
{L"revert", L"Revert Files...",
{L"revert", L"Re&vert Files...",
L"Revert file changes",
L"menurevert.ico", 0},
{L"remove", L"Remove Files...",
{L"remove", L"&Remove Files...",
L"Remove files from version control",
L"menudelete.ico", 0},
{L"rename", L"Rename File...",
{L"rename", L"Rena&me File...",
L"Rename file or directory",
L"general.ico", 0},
{L"workbench", L"Workbench",
{L"workbench", L"&Workbench",
L"View change history of repository",
L"menulog.ico", 0},
{L"log", L"Revision History",
{L"log", L"Revision &History",
L"View change history of selected files",
L"menulog.ico", 0},
{L"synch", L"Synchronize",
{L"synch", L"S&ynchronize",
L"Synchronize with remote repository",
L"menusynch.ico", 0},
{L"serve", L"Web Server",
L"Start web server for this repository",
L"proxy.ico", 0},
{L"update", L"Update...",
{L"update", L"&Update...",
L"Update working directory",
L"menucheckout.ico", 0},
{L"thgstatus", L"Update Icons",
......@@ -73,22 +73,22 @@ static const MenuDescription CMenuMenuDescList[] =
{L"about", L"About TortoiseHg",
L"Show About Dialog",
L"menuabout.ico", 0},
{L"annotate", L"Annotate Files",
{L"annotate", L"A&nnotate Files",
L"Changeset information per file line",
L"menublame.ico", 0},
{L"vdiff", L"Visual Diff",
{L"vdiff", L"Visual &Diff",
L"View changes using GUI diff tool",
L"TortoiseMerge.ico", 0},
{L"hgignore", L"Edit Ignore Filter",
{L"hgignore", L"Edit &Ignore Filter",
L"Edit repository ignore filter",
L"ignore.ico", 0},
{L"guess", L"Guess Renames",
{L"guess", L"&Guess Renames",
L"Detect renames and copies",
L"detect_rename.ico", 0},
{L"grep", L"Search History",
{L"grep", L"S&earch History",
L"Search file revisions for patterns",
L"menurepobrowse.ico", 0},
{L"forget", L"Forget Files...",
{L"forget", L"&Forget Files...",
L"Remove files from version control",
L"menudelete.ico", 0},
{L"shellconf", L"Explorer Extension Settings",
......@@ -316,7 +316,7 @@ void CShellExtCMenu::InsertMenuItemByName(
}
const std::wstring TortoiseHgMenuEntryString = L"TortoiseHg";
const std::wstring TortoiseHgMenuEntryString = L"&TortoiseHg";
int HasTortoiseMenu(HMENU hMenu, bool& hasmenu)
// returns -1 on error, 0 otherwise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment