1.1 --- a/GUI/SensorNotifyIcon.cs Tue May 04 17:32:41 2010 +0000
1.2 +++ b/GUI/SensorNotifyIcon.cs Thu May 06 19:20:38 2010 +0000
1.3 @@ -71,7 +71,8 @@
1.4 if (sensor.SensorType == SensorType.Load) {
1.5 defaultColor = Color.FromArgb(0xff, 0x70, 0x8c, 0xf1);
1.6 }
1.7 - Color = Config.Get(sensor.Identifier + "/traycolor", defaultColor);
1.8 + Color = Config.Get(new Identifier(sensor.Identifier,
1.9 + "traycolor").ToString(), defaultColor);
1.10
1.11 this.pen = new Pen(Color.FromArgb(96, Color.Black));
1.12 this.font = new Font(SystemFonts.MessageBoxFont.FontFamily, 9);
1.13 @@ -88,7 +89,8 @@
1.14 dialog.Color = Color;
1.15 if (dialog.ShowDialog() == DialogResult.OK) {
1.16 Color = dialog.Color;
1.17 - Config.Set(sensor.Identifier + "/traycolor", Color);
1.18 + Config.Set(new Identifier(sensor.Identifier,
1.19 + "traycolor").ToString(), Color);
1.20 }
1.21 };
1.22 contextMenuStrip.Items.Add(colorItem);