windows statusicon: change icon of NotifyIcon, not MenuItem

This commit is contained in:
Hylke Bons 2012-03-10 20:22:02 +00:00
parent b4a0b9fe24
commit e718b21baa

View file

@ -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;
}