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

Commit 573a3bc

Browse files
donokudaStanleyGoldman
authored andcommitted
Prefer VS Images over Octicons in file tree
1 parent 5d0b1f2 commit 573a3bc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/GitHub.VisualStudio.UI/Views/GitHubPane/PullRequestFilesView.xaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
xmlns:ghfvs="https://github.com/github/VisualStudio"
77
xmlns:local="clr-namespace:GitHub.VisualStudio.Views.GitHubPane"
88
xmlns:imaging="clr-namespace:Microsoft.VisualStudio.Imaging;assembly=Microsoft.VisualStudio.Imaging"
9+
xmlns:catalog="clr-namespace:Microsoft.VisualStudio.Imaging;assembly=Microsoft.VisualStudio.ImageCatalog"
910
mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300"
1011
Name="root">
1112

@@ -108,7 +109,8 @@
108109
</Style.Triggers>
109110
</Style>
110111
</TextBlock.Style>
111-
<ghfvs:OcticonImage Icon="beaker" Height="10" Margin="-2 0"/>
112+
<ghfvs:OcticonImage Icon="alert" Height="10" Margin="-2 0"/>
113+
Moniker="{x:Static catalog:KnownMonikers.StatusWarning}" Margin="-2 0" />
112114
<Label Content="{Binding AnnotationNoticeCount}"></Label>
113115
</TextBlock>
114116

@@ -122,7 +124,8 @@
122124
</Style.Triggers>
123125
</Style>
124126
</TextBlock.Style>
125-
<ghfvs:OcticonImage Icon="alert" Height="10" Margin="-2 0"/>
127+
<imaging:CrispImage Width="10" Height="10"
128+
Moniker="{x:Static catalog:KnownMonikers.StatusWarning}" Margin="-2 0"/>
126129
<Label Content="{Binding AnnotationWarningCount}"></Label>
127130
</TextBlock>
128131

@@ -136,7 +139,8 @@
136139
</Style.Triggers>
137140
</Style>
138141
</TextBlock.Style>
139-
<ghfvs:OcticonImage Icon="x" Height="10" Margin="-2 0"/>
142+
<imaging:CrispImage Width="10" Height="10"
143+
Moniker="{x:Static catalog:KnownMonikers.StatusError}" Margin="-2 0" />
140144
<Label Content="{Binding AnnotationFailureCount}"></Label>
141145
</TextBlock>
142146

0 commit comments

Comments
 (0)