Fixed Systray NotifyPropertyChanged, shortcut setting window

This commit is contained in:
2021-08-14 11:27:26 +02:00
parent 6dd31fcdff
commit c95094a003
10 changed files with 63 additions and 73 deletions

View File

@ -1,16 +1,15 @@
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:tb="http://www.hardcodet.net/taskbar"
xmlns:local="clr-namespace:unison">
<tb:TaskbarIcon x:Name="SystrayTaskbar" xmlns:emoji="clr-namespace:Emoji.Wpf;assembly=Emoji.Wpf"
IconSource="/unison.ico" ToolTipText="{Binding GetAppText}" DoubleClickCommand="{Binding ShowWindowCommand}" x:Key="SystrayTaskbar">
IconSource="/images/unison.ico" ToolTipText="{Binding GetAppText}" DoubleClickCommand="{Binding ShowWindowCommand}" x:Key="SystrayTaskbar">
<tb:TaskbarIcon.ContextMenu>
<ContextMenu>
<MenuItem IsEnabled="False">
<MenuItem.Icon>
<Image Source="/unison.ico" Width="16" Height="16"/>
<Image Source="/images/unison.ico" Width="16" Height="16"/>
</MenuItem.Icon>
<MenuItem.Header>
<TextBlock Text="{Binding GetAppText}" />
@ -46,7 +45,7 @@
</ContextMenu>
</tb:TaskbarIcon.ContextMenu>
<tb:TaskbarIcon.DataContext>
<local:NotifyIconViewModel />
<local:SystrayViewModel />
</tb:TaskbarIcon.DataContext>
</tb:TaskbarIcon>