Changeset 3540


Ignore:
Timestamp:
Oct 24, 2007, 9:33:04 PM (15 years ago)
Author:
livings124
Message:

trunk: because of the crashing caused by soundNamed: with some sounds, don't allow custom sounds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/PrefsController.m

    r3526 r3540  
    310310    NSMutableArray * sounds = [NSMutableArray array];
    311311   
     312    //until Apple can fix soundNamed to not crash on invalid sound files, don't use custom sounds
    312313    NSArray * directories = [NSArray arrayWithObjects: @"/System/Library/Sounds", @"/Library/Sounds",
    313                                 [NSHomeDirectory() stringByAppendingPathComponent: @"Library/Sounds"], nil];
     314                                /*[NSHomeDirectory() stringByAppendingPathComponent: @"Library/Sounds"],*/ nil];
    314315    BOOL isDirectory;
    315316    NSEnumerator * soundEnumerator;
Note: See TracChangeset for help on using the changeset viewer.