Ignore:
Timestamp:
Sep 20, 2009, 2:41:28 AM (13 years ago)
Author:
livings124
Message:

rename SUPPORT_FOLDER to TRANSFER_PLIST

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r9096 r9147  
    138138#define DOCK_DOWNLOADING_TAG    102
    139139
    140 #define SUPPORT_FOLDER  @"/Library/Application Support/Transmission/Transfers.plist"
     140#define TRANSFER_PLIST  @"/Library/Application Support/Transmission/Transfers.plist"
    141141
    142142#define WEBSITE_URL @"http://www.transmissionbt.com/"
     
    388388   
    389389    //load previous transfers
    390     NSArray * history = [[NSArray alloc] initWithContentsOfFile: [NSHomeDirectory() stringByAppendingPathComponent: SUPPORT_FOLDER]];
     390    NSArray * history = [[NSArray alloc] initWithContentsOfFile: [NSHomeDirectory() stringByAppendingPathComponent: TRANSFER_PLIST]];
    391391   
    392392    //old version saved transfer info in prefs file
     
    18061806        [history addObject: [torrent history]];
    18071807   
    1808     [history writeToFile: [NSHomeDirectory() stringByAppendingPathComponent: SUPPORT_FOLDER] atomically: YES];
     1808    [history writeToFile: [NSHomeDirectory() stringByAppendingPathComponent: TRANSFER_PLIST] atomically: YES];
    18091809}
    18101810
Note: See TracChangeset for help on using the changeset viewer.