windows statusicon: change icon of NotifyIcon, not MenuItem
This commit is contained in:
parent
b4a0b9fe24
commit
e718b21baa
|
@ -99,8 +99,8 @@ namespace SparkleShare {
|
|||
case IconState.Syncing: {
|
||||
|
||||
this.notify_icon.Text = StateText = "Syncing… " +
|
||||
Controller.ProgressPercentage + "% " +
|
||||
Controller.ProgressSpeed;
|
||||
Controller.ProgressPercentage + "% " +
|
||||
Controller.ProgressSpeed;
|
||||
|
||||
this.status_item.Header = StateText;
|
||||
|
||||
|
@ -118,7 +118,7 @@ namespace SparkleShare {
|
|||
this.status_item.Header = StateText;
|
||||
CreateMenu ();
|
||||
|
||||
this.status_item.Icon = ErrorIcon;
|
||||
this.notify_icon.Icon = ErrorIcon;
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue