Skip to content

Commit d51ce99

Browse files
authored
Merge pull request #297 from dremin/update-deps
Update dependencies
2 parents 128280b + 9576ae6 commit d51ce99

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

RetroBar/Controls/NotifyIcon.xaml.cs

+5-9
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ public partial class NotifyIcon : UserControl
1919
private ManagedShell.WindowsTray.NotifyIcon TrayIcon;
2020

2121
private const string HARDWARE_GUID = "7820ae78-23e3-4229-82c1-e41cb67d5b9c";
22-
private const string MEETNOW_GUID = "7820ae83-23e3-4229-82c1-e41cb67d5b9c";
23-
private const string NETWORK_GUID = "7820ae74-23e3-4229-82c1-e41cb67d5b9c";
24-
private const string POWER_GUID = "7820ae75-23e3-4229-82c1-e41cb67d5b9c";
25-
private const string VOLUME_GUID = "7820ae73-23e3-4229-82c1-e41cb67d5b9c";
2622

2723
public static DependencyProperty HostProperty = DependencyProperty.Register("Host", typeof(Taskbar), typeof(NotifyIcon));
2824

@@ -47,10 +43,10 @@ private void applyEffects()
4743
string iconGuid = TrayIcon.GUID.ToString();
4844

4945
if (!(iconGuid == HARDWARE_GUID ||
50-
iconGuid == MEETNOW_GUID ||
51-
iconGuid == NETWORK_GUID ||
52-
iconGuid == POWER_GUID ||
53-
iconGuid == VOLUME_GUID))
46+
iconGuid == NotificationArea.MEETNOW_GUID ||
47+
iconGuid == NotificationArea.NETWORK_GUID ||
48+
iconGuid == NotificationArea.POWER_GUID ||
49+
iconGuid == NotificationArea.VOLUME_GUID))
5450
{
5551
return;
5652
}
@@ -160,7 +156,7 @@ private bool HandleNotificationIconMouseWheel(bool upOrDown)
160156
{
161157
switch (TrayIcon?.GUID.ToString())
162158
{
163-
case VOLUME_GUID:
159+
case NotificationArea.VOLUME_GUID:
164160
VolumeChanger.ChangeVolume(WindowHelper.FindWindowsTray(IntPtr.Zero), upOrDown);
165161
return true;
166162
default:

RetroBar/RetroBar.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
</ItemGroup>
4242

4343
<ItemGroup>
44-
<PackageReference Include="gong-wpf-dragdrop" Version="3.0.0" />
45-
<PackageReference Include="ManagedShell" Version="0.0.162" />
44+
<PackageReference Include="gong-wpf-dragdrop" Version="3.1.1" />
45+
<PackageReference Include="ManagedShell" Version="0.0.172" />
4646
<PackageReference Include="System.Net.Http.Json" Version="6.0.0" />
4747
</ItemGroup>
4848

0 commit comments

Comments
 (0)