remove some 10.3 checks

This commit is contained in:
Mitchell Livingston
2006-11-03 02:49:16 +00:00
parent 2873ff5baf
commit c111c4fb53
3 changed files with 19 additions and 44 deletions

View File

@@ -222,22 +222,14 @@
- (void) updatePortStatus
{
long sytemVersion;
[fPortStatusField setStringValue: @""];
[fPortStatusImage setImage: nil];
Gestalt('sysv', & sytemVersion);
if (sytemVersion >= 0x1040)
{
//NSXML features are unfortunately only available since Mac OS X v10.4
PortChecker * checker = [[PortChecker alloc] initWithDelegate: self];
PortChecker * portChecker = [[PortChecker alloc] initWithDelegate: self];
[fPortStatusField setStringValue: [NSLocalizedString(@"Checking port status",
"Preferences -> Network -> port status") stringByAppendingEllipsis]];
[fPortStatusProgress startAnimation: self];
[fPortStatusField setStringValue: [NSLocalizedString(@"Checking port status",
"Preferences -> Network -> port status") stringByAppendingEllipsis]];
[fPortStatusImage setImage: nil];
[fPortStatusProgress startAnimation: self];
[checker probePort: [fDefaults integerForKey: @"BindPort"]];
}
[portChecker probePort: [fDefaults integerForKey: @"BindPort"]];
}
- (void) portCheckerDidFinishProbing: (PortChecker *) portChecker