fixes #169 - Double click on taskbar icon

pull/702/head
Luke Pulverenti 12 years ago
parent 57dd61d209
commit e977548b06

@ -10,7 +10,7 @@
WindowStyle="None"
ShowInTaskbar="False">
<Grid>
<tb:TaskbarIcon Name="MbTaskbarIcon" ToolTipText="Media Browser Server">
<tb:TaskbarIcon Name="MbTaskbarIcon" ToolTipText="Media Browser Server" IconSource="/Resources/Images/icon.ico">
<tb:TaskbarIcon.ContextMenu>
<ContextMenu Background="White">
@ -35,32 +35,6 @@
</ContextMenu>
</tb:TaskbarIcon.ContextMenu>
<tb:TaskbarIcon.Style>
<Style TargetType="{x:Type tb:TaskbarIcon}">
<Setter Property="IconSource" Value="/Resources/Images/icon.ico" />
<Style.Triggers>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="1">
<Setter Property="IconSource" Value="/Resources/Images/Loading/1.ico" />
</DataTrigger>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="2">
<Setter Property="IconSource" Value="/Resources/Images/Loading/2.ico" />
</DataTrigger>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="3">
<Setter Property="IconSource" Value="/Resources/Images/Loading/3.ico" />
</DataTrigger>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="4">
<Setter Property="IconSource" Value="/Resources/Images/Loading/4.ico" />
</DataTrigger>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="5">
<Setter Property="IconSource" Value="/Resources/Images/Loading/5.ico" />
</DataTrigger>
<DataTrigger Binding="{Binding LoadingImageIndex}" Value="6">
<Setter Property="IconSource" Value="/Resources/Images/Loading/6.ico" />
</DataTrigger>
</Style.Triggers>
</Style>
</tb:TaskbarIcon.Style>
</tb:TaskbarIcon>
</Grid>
</Window>

@ -333,14 +333,6 @@
<Resource Include="Resources\Images\mblogoblackfull.png" />
<Resource Include="Resources\Images\mblogowhitefull.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Resources\Images\Loading\1.ico" />
<Resource Include="Resources\Images\Loading\2.ico" />
<Resource Include="Resources\Images\Loading\3.ico" />
<Resource Include="Resources\Images\Loading\4.ico" />
<Resource Include="Resources\Images\Loading\5.ico" />
<Resource Include="Resources\Images\Loading\6.ico" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
<Visible>False</Visible>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 150 KiB

Loading…
Cancel
Save