Fixed Issue 71.

This commit is contained in:
Michael Möller
2010-06-27 13:02:02 +00:00
parent 4a6cdb1e60
commit 589ba48753
2 changed files with 42 additions and 26 deletions

View File

@@ -141,11 +141,7 @@ namespace OpenHardwareMonitor.GUI {
UnitManager.TemperatureUnit == TemperatureUnit.Celcius;
fahrenheitToolStripMenuItem.Checked = !celciusToolStripMenuItem.Checked;
// Hide the auto startup menu item on Unix
int p = (int)System.Environment.OSVersion.Platform;
if ((p == 4) || (p == 128)) {
startupMenuItem.Visible = false;
}
startupMenuItem.Visible = startupManager.IsAvailable;
if (startMinMenuItem.Checked) {
if (!minTrayMenuItem.Checked) {