Changeset 7674


Ignore:
Timestamp:
Jan 11, 2009, 9:49:17 PM (12 years ago)
Author:
livings124
Message:

use the torrent file's UTI in open/save dialogs

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r7662 r7674  
    909909    [panel setCanChooseDirectories: NO];
    910910
    911     [panel beginSheetForDirectory: nil file: nil types: [NSArray arrayWithObject: @"torrent"]
     911    [panel beginSheetForDirectory: nil file: nil types: [NSArray arrayWithObject: @"org.bittorrent.torrent"]
    912912        modalForWindow: fWindow modalDelegate: self didEndSelector: @selector(openSheetClosed:returnCode:contextInfo:)
    913913        contextInfo: [NSNumber numberWithBool: sender == fOpenIgnoreDownloadFolder]];
     
    13411341    {
    13421342        NSSavePanel * panel = [NSSavePanel savePanel];
    1343         [panel setRequiredFileType: @"torrent"];
     1343        [panel setRequiredFileType: @"org.bittorrent.torrent"];
    13441344        [panel setCanSelectHiddenExtension: YES];
    13451345       
  • trunk/macosx/CreatorWindowController.m

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