Skip to content

Commit

Permalink
Add context menu to main menu, Add toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
sboulema committed Jun 21, 2017
1 parent 9149306 commit 06f7317
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 6 deletions.
46 changes: 42 additions & 4 deletions TGit/TGIT.vsct
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,18 @@
<CommandName>GitHubFlow</CommandName>
</Strings>
</Menu>

<!--Toolbar Menu-->
<Menu guid="guidTGitCmdSet" id="Toolbar" type="Toolbar">
<Strings>
<ButtonText>TGit</ButtonText>
<CommandName>TGit</CommandName>
</Strings>
</Menu>
</Menus>

<Groups>

<!--Flow Group-->
<Group guid="guidTGitCmdSet" id="TGitGitFlowMenuGroup" priority="0x0000">
<Parent guid="guidTGitCmdSet" id="TGitGitFlowMenu"/>
</Group>
Expand All @@ -59,6 +67,7 @@
<Parent guid="guidTGitCmdSet" id="TGitGitHubFlowMenu"/>
</Group>

<!--Main Group-->
<Group guid="guidTGitCmdSet" id="firstMenuGroup" priority="0x0100">
<Parent guid="guidTGitCmdSet" id="TGitMenu"/>
</Group>
Expand All @@ -74,10 +83,14 @@
<Group guid="guidTGitCmdSet" id="fifthMenuGroup" priority="0x0500">
<Parent guid="guidTGitCmdSet" id="TGitMenu"/>
</Group>
<Group guid="guidTGitCmdSet" id="sixthMenuGroup" priority="0x0500">
<Group guid="guidTGitCmdSet" id="sixthMenuGroup" priority="0x0600">
<Parent guid="guidTGitCmdSet" id="TGitMenu"/>
</Group>

<Group guid="guidTGitCmdSet" id="contextMenuGroup" priority="0x0700">
<Parent guid="guidTGitCmdSet" id="TGitMenu"/>
</Group>

<!--Context Group-->
<Group guid="guidTGitCmdSet" id="contextMenuGroup" priority="0x0600">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_CODEWIN" />
</Group>
Expand All @@ -102,6 +115,26 @@
<Group guid="guidTGitCmdSet" id="fourthContextMenuGroup" priority="0x0901">
<Parent guid="guidTGitCmdSet" id="TGitContextMenu" />
</Group>

<!--Toolbar Group-->
<Group guid="guidTGitCmdSet" id="ToolbarGroup" priority="0x0000">
<Parent guid="guidTGitCmdSet" id="Toolbar" />
</Group>
<Group guid="guidTGitCmdSet" id="secondMenuGroup" priority="0x0200">
<Parent guid="guidTGitCmdSet" id="Toolbar"/>
</Group>
<Group guid="guidTGitCmdSet" id="thirdMenuGroup" priority="0x0300">
<Parent guid="guidTGitCmdSet" id="Toolbar"/>
</Group>
<Group guid="guidTGitCmdSet" id="fourthMenuGroup" priority="0x0400">
<Parent guid="guidTGitCmdSet" id="Toolbar"/>
</Group>
<Group guid="guidTGitCmdSet" id="fifthMenuGroup" priority="0x0500">
<Parent guid="guidTGitCmdSet" id="Toolbar"/>
</Group>
<Group guid="guidTGitCmdSet" id="sixthMenuGroup" priority="0x0600">
<Parent guid="guidTGitCmdSet" id="Toolbar"/>
</Group>
</Groups>

<Buttons>
Expand Down Expand Up @@ -489,7 +522,12 @@
<IDSymbol name="secondContextMenuGroup" value="0x1030" />
<IDSymbol name="thirdContextMenuGroup" value="0x1031" />
<IDSymbol name="fourthContextMenuGroup" value="0x1032" />


<!--Toolbar Menu-->
<IDSymbol name="Toolbar" value="0x1000" />
<IDSymbol name="ToolbarGroup" value="0x1050" />

<!--Commands-->
<IDSymbol name="showChanges" value="0x0103" />
<IDSymbol name="pull" value="0x0104" />
<IDSymbol name="fetch" value="0x0127" />
Expand Down
2 changes: 1 addition & 1 deletion TGit/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="2eb0e74d-a27d-4c41-bca4-7e9e9befaa18" Version="4.5" Language="en-US" Publisher="Samir L. Boulema" />
<Identity Id="2eb0e74d-a27d-4c41-bca4-7e9e9befaa18" Version="4.6" Language="en-US" Publisher="Samir L. Boulema" />
<DisplayName>TGit</DisplayName>
<Description xml:space="preserve">Control TortoiseGit from within Visual Studio</Description>
<MoreInfo>https://github.com/sboulema/TGit</MoreInfo>
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 4.5.{build}
version: 4.6.{build}
skip_tags: true
configuration:
- Release
Expand Down

0 comments on commit 06f7317

Please sign in to comment.