mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
fix legacy icon resource name
This commit is contained in:
parent
163996b98f
commit
66460e2de8
4 changed files with 24 additions and 5 deletions
|
@ -242,9 +242,9 @@ namespace PersistentWindows.SystrayShell
|
|||
AppdataFolder = appDataFolder;
|
||||
|
||||
// default icons
|
||||
IdleIcon = legacy_icon ? Properties.Resources.pwIconLegacy : Properties.Resources.pwIcon;
|
||||
IdleIcon = legacy_icon ? Properties.Resources.pwIcon2 : Properties.Resources.pwIcon;
|
||||
var iconHandle = Properties.Resources.pwIconBusy.GetHicon();
|
||||
BusyIcon = legacy_icon ? Properties.Resources.pwIconBusyLegacy : System.Drawing.Icon.FromHandle(iconHandle);
|
||||
BusyIcon = legacy_icon ? Properties.Resources.pwIconBusy2 : System.Drawing.Icon.FromHandle(iconHandle);
|
||||
iconHandle = Properties.Resources.pwIconUpdate.GetHicon();
|
||||
UpdateIcon = System.Drawing.Icon.FromHandle(iconHandle);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue