Changeset 361 for trunk/Cocoa/Pester/Source/PSAlarmSetController.m
- Timestamp:
- 11/25/07 03:01:04 (17 years ago)
- Location:
- trunk/Cocoa/Pester/Source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source
- Property svn:externals set to
-
trunk/Cocoa/Pester/Source/PSAlarmSetController.m
r359 r361 76 76 alarm = [[PSAlarm alloc] init]; 77 77 [[self window] center]; 78 if ([[removeMessageButton image] size].width != 0) 79 [removeMessageButton setTitle: @""]; 78 80 [PSTimeDateEditor setUpTimeField: timeOfDay dateField: timeDate completions: timeDateCompletions]; 79 81 { // volume defaults, usually overridden by restored alert info … … 206 208 [timeOfDay setEnabled: !isInterval]; 207 209 [timeDate setEnabled: !isInterval]; 208 [timeDateCompletions setEnabled: !isInterval ];210 [timeDateCompletions setEnabled: !isInterval && [NJRDateFormatter naturalLanguageParsingAvailable]]; 209 211 [timeCalendarButton setEnabled: !isInterval]; 210 212 if (sender != nil) … … 336 338 BOOL playSoundSelected = [playSound intValue]; 337 339 BOOL canRepeat = playSoundSelected ? [sound canRepeat] : NO; 338 [sound setEnabled: playSoundSelected];340 [sound setEnabled: NO]; //playSoundSelected]; // XXX temporary for 1.1b5 339 341 [soundRepetitions setEnabled: canRepeat]; 340 342 [soundVolumeButton setEnabled: canRepeat && [sound hasAudio]];
Note:
See TracChangeset
for help on using the changeset viewer.