Ignore:
Timestamp:
01/02/03 05:30:03 (20 years ago)
Author:
Nicholas Riley
Message:

Updated for Pester 1.1a5 (very limited release).

Pester 1.1a4 was never released.

Location:
trunk/Cocoa/Pester/Source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source

    • Property svn:ignore
      •  

        old new  
        11build
         2.gdb_history
  • trunk/Cocoa/Pester/Source/NJRVoicePopUpButton.m

    r43 r53  
    6868}
    6969
     70- (void)setVoice:(NSString *)voice;
     71{
     72    int voiceIdx = [self indexOfItemWithTitle: voice];
     73    if (voiceIdx == -1) {
     74        [self _invalidateVoiceSelection];
     75    } else {
     76        [self selectItemAtIndex: voiceIdx];
     77    }
     78}
     79
    7080- (void)_previewVoice;
    7181{
     
    8090
    8191    if ( (err = GetIndVoice(voiceIndex, &voice)) != noErr) {
    82         NSBeginAlertSheet(@"Voice not available", @"OK", nil, nil, [self window], nil, nil, nil, nil, @"The voice Ò%@Ó you selected could not be used.  An error of type %ld occurred while attempting to retrieve voice information.", voiceName, err);
     92        NSBeginAlertSheet(@"Voice not available", nil, nil, nil, [self window], nil, nil, nil, nil, @"The voice Ò%@Ó you selected could not be used.  An error of type %ld occurred while attempting to retrieve voice information.", voiceName, err);
    8393        [self _invalidateVoiceSelection];
    8494        return;
Note: See TracChangeset for help on using the changeset viewer.