Changeset 542 for trunk


Ignore:
Timestamp:
06/15/09 06:16:36 (10 years ago)
Author:
Nicholas Riley
Message:

Now the sound popup is back, undo temporary changes to PSAlarmSetController.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cocoa/Pester/Source/PSAlarmSetController.m

    r522 r542  
    355355{
    356356    BOOL playSoundSelected = [playSound intValue];
    357     BOOL canRepeat = playSoundSelected; // ? [sound canRepeat] : NO; // XXX temporary for 1.1b6
     357    BOOL canRepeat = playSoundSelected ? [sound canRepeat] : NO;
    358358    [sound setEnabled: playSoundSelected];
    359359    [soundRepetitions setEnabled: canRepeat];
     
    362362    [soundRepetitionsLabel setTextColor: canRepeat ? [NSColor controlTextColor] : [NSColor disabledControlTextColor]];
    363363    if (playSoundSelected && sender == playSound) {
    364         [[self window] makeFirstResponder: soundRepetitions]; // sound]; // XXX temporary for 1.1b6
     364        [[self window] makeFirstResponder: sound];
    365365    }
    366366}
Note: See TracChangeset for help on using the changeset viewer.