Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Try to use the pull request image from GitHub.VisualStudio
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentkempe committed Oct 21, 2018
1 parent e95d218 commit e8f0e3e
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
5 changes: 4 additions & 1 deletion src/GitHub.InlineReviews/GitHub.InlineReviews.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@
<Compile Include="VisualStudioExtensions.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="GitHub.InlineReviews.imagemanifest">
<IncludeInVSIX>true</IncludeInVSIX>
<SubType>Designer</SubType>
</Content>
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
Expand Down Expand Up @@ -447,7 +451,6 @@
<Content Include="Resources\logo_32x32%402x.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Resources\PullRequestFilterCommand.png" />
</ItemGroup>
<ItemGroup>
<Folder Include="SampleData\" />
Expand Down
17 changes: 17 additions & 0 deletions src/GitHub.InlineReviews/GitHub.InlineReviews.imagemanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This file was generated by the ManifestFromResources tool.-->
<!-- Version: 14.0.50929.2 -->
<ImageManifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/VisualStudio/ImageManifestSchema/2014">
<Symbols>
<String Name="Resources" Value="/GitHub.VisualStudio;Component/Resources/icons" />

<Guid Name="guidGitHubInlineReviews" Value="{7b2a62fb-6aaa-4893-82c2-4895716a390c}" />
<ID Name="pullrequest" Value="1" />
</Symbols>
<Images>
<Image Guid="$(guidGitHubInlineReviews)" ID="$(pullrequest)">
<Source Uri="$(Resources)/git_pull_request.xaml" />
</Image>
</Images>
<ImageLists />
</ImageManifest>
7 changes: 2 additions & 5 deletions src/GitHub.InlineReviews/InlineReviewsPackage.vsct
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</Button>
<Button guid="guidPullRequestFilterCommandPackageCmdSet" id="PullRequestFilterCommandId" priority="0x0400" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_TOOLBAR_PROJWIN_FILTERS" />
<Icon guid="guidImages" id="pullrequest" />
<Icon guid="guidGitHubInlineReviews" id="pullrequest" />
<Strings>
<ButtonText>Pull Request Filter</ButtonText>
</Strings>
Expand All @@ -83,9 +83,6 @@
</Strings>
</Button>
</Buttons>
<Bitmaps>
<Bitmap guid="guidImages" href="Resources\PullRequestFilterCommand.png" usedList="pullrequest"/>
</Bitmaps>
</Commands>
<KeyBindings>
<KeyBinding guid="guidGitHubCommandSet" id="NextInlineCommentId" editor="guidVSStd97" key1="VK_OEM_6" mod1="Alt"/>
Expand All @@ -108,7 +105,7 @@
<IDSymbol name="PullRequestFilterCommandId" value="0x0100" />
</GuidSymbol>

<GuidSymbol name="guidImages" value="{775aa523-6c52-4c11-9c28-823c99d15613}" >
<GuidSymbol name="guidGitHubInlineReviews" value="{7b2a62fb-6aaa-4893-82c2-4895716a390c}" >
<IDSymbol name="pullrequest" value="1" />
</GuidSymbol>
</Symbols>
Expand Down
Binary file not shown.
4 changes: 4 additions & 0 deletions src/GitHub.VisualStudio/GitHub.VisualStudio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,10 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<Content Include="..\..\..\..\Desktop\Monikers.imagemanifest">
<Link>Monikers.imagemanifest</Link>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
<None Include="packages.config">
<SubType>Designer</SubType>
</None>
Expand Down

0 comments on commit e8f0e3e

Please sign in to comment.