Ignore:
Timestamp:
Nov 3, 2006, 2:49:16 AM (15 years ago)
Author:
livings124
Message:

remove some 10.3 checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r1049 r1050  
    223223- (void) updatePortStatus
    224224{
    225     long sytemVersion;
    226     [fPortStatusField setStringValue: @""];
     225    PortChecker * portChecker = [[PortChecker alloc] initWithDelegate: self];
     226
     227    [fPortStatusField setStringValue: [NSLocalizedString(@"Checking port status",
     228                                        "Preferences -> Network -> port status") stringByAppendingEllipsis]];
    227229    [fPortStatusImage setImage: nil];
    228    
    229     Gestalt('sysv', & sytemVersion);
    230     if (sytemVersion >= 0x1040)
    231     {
    232         //NSXML features are unfortunately only available since Mac OS X v10.4
    233         PortChecker * checker = [[PortChecker alloc] initWithDelegate: self];
    234 
    235         [fPortStatusField setStringValue: [NSLocalizedString(@"Checking port status",
    236                                             "Preferences -> Network -> port status") stringByAppendingEllipsis]];
    237         [fPortStatusProgress startAnimation: self];
    238        
    239         [checker probePort: [fDefaults integerForKey: @"BindPort"]];
    240     }
     230    [fPortStatusProgress startAnimation: self];
     231       
     232    [portChecker probePort: [fDefaults integerForKey: @"BindPort"]];
    241233}
    242234
Note: See TracChangeset for help on using the changeset viewer.