Changeset 12937


Ignore:
Timestamp:
Oct 3, 2011, 1:38:55 AM (10 years ago)
Author:
livings124
Message:

replace the deprecated setRequiredFileType: with setAllowedFileTypes:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/MessageWindowController.m

    r12574 r12937  
    394394   
    395395    NSSavePanel * panel = [NSSavePanel savePanel];
    396     [panel setRequiredFileType: @"txt"];
     396    [panel setAllowedFileTypes: [NSArray arrayWithObject: @"txt"]];
    397397    [panel setCanSelectHiddenExtension: YES];
    398398   
Note: See TracChangeset for help on using the changeset viewer.