mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-13 05:55:39 +02:00
fix issue #70, change icon color to indicate busy restore
This commit is contained in:
parent
760874759c
commit
26f7ba297f
4 changed files with 13 additions and 1 deletions
|
@ -153,6 +153,8 @@ namespace Ninjacrab.PersistentWindows.SystrayShell
|
|||
{
|
||||
var thread = new Thread(() =>
|
||||
{
|
||||
systrayForm.notifyIconMain.Icon = Properties.Resources.pwIconBusy;
|
||||
|
||||
if (silent)
|
||||
return;
|
||||
|
||||
|
@ -171,6 +173,7 @@ namespace Ninjacrab.PersistentWindows.SystrayShell
|
|||
|
||||
static void HideRestoreTip()
|
||||
{
|
||||
systrayForm.notifyIconMain.Icon = Properties.Resources.pwIcon;
|
||||
if (silent || !notification)
|
||||
return;
|
||||
systrayForm.notifyIconMain.Visible = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue