1.1 --- a/GUI/SensorNotifyIcon.cs Sun Aug 08 13:57:26 2010 +0000
1.2 +++ b/GUI/SensorNotifyIcon.cs Thu Aug 12 20:53:27 2010 +0000
1.3 @@ -71,7 +71,7 @@
1.4 if (sensor.SensorType == SensorType.Load) {
1.5 defaultColor = Color.FromArgb(0xff, 0x70, 0x8c, 0xf1);
1.6 }
1.7 - Color = settings.Get(new Identifier(sensor.Identifier,
1.8 + Color = settings.GetValue(new Identifier(sensor.Identifier,
1.9 "traycolor").ToString(), defaultColor);
1.10
1.11 this.pen = new Pen(Color.FromArgb(96, Color.Black));
1.12 @@ -95,7 +95,7 @@
1.13 dialog.Color = Color;
1.14 if (dialog.ShowDialog() == DialogResult.OK) {
1.15 Color = dialog.Color;
1.16 - settings.Set(new Identifier(sensor.Identifier,
1.17 + settings.SetValue(new Identifier(sensor.Identifier,
1.18 "traycolor").ToString(), Color);
1.19 }
1.20 };