Changeset 8675


Ignore:
Timestamp:
Jun 11, 2009, 11:02:54 PM (13 years ago)
Author:
livings124
Message:

more love for users having problem with the torrent file UTI

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r8667 r8675  
    948948    [panel setCanChooseDirectories: NO];
    949949
    950     [panel beginSheetForDirectory: nil file: nil types: [NSArray arrayWithObject: @"org.bittorrent.torrent"]
     950    [panel beginSheetForDirectory: nil file: nil types: [NSArray arrayWithObjects: @"org.bittorrent.torrent", @"torrent", nil]
    951951        modalForWindow: fWindow modalDelegate: self didEndSelector: @selector(openSheetClosed:returnCode:contextInfo:)
    952952        contextInfo: [NSNumber numberWithBool: sender == fOpenIgnoreDownloadFolder]];
     
    13701370    {
    13711371        NSSavePanel * panel = [NSSavePanel savePanel];
    1372         [panel setRequiredFileType: @"org.bittorrent.torrent"];
     1372        [panel setAllowedFileTypes: [NSArray arrayWithObjects: @"org.bittorrent.torrent", @"torrent", nil]];
    13731373        [panel setCanSelectHiddenExtension: YES];
    13741374       
  • trunk/macosx/CreatorWindowController.m

    r8181 r8675  
    214214                                        "Create torrent -> location sheet -> message")];
    215215   
    216     [panel setRequiredFileType: @"org.bittorrent.torrent"];
     216    [panel setAllowedFileTypes: [NSArray arrayWithObjects: @"org.bittorrent.torrent", @"torrent", nil]];
    217217    [panel setCanSelectHiddenExtension: YES];
    218218   
Note: See TracChangeset for help on using the changeset viewer.