Changeset 900


Ignore:
Timestamp:
Sep 23, 2006, 9:44:10 PM (15 years ago)
Author:
livings124
Message:

make a default name more future-proof

Location:
branches/nat-traversal
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/nat-traversal/Transmission.xcodeproj/project.pbxproj

    r898 r900  
    293293                4DCCBB3C09C3D71100D3CABF /* TorrentCell.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = TorrentCell.m; path = macosx/TorrentCell.m; sourceTree = "<group>"; };
    294294                4DCCBB3D09C3D71100D3CABF /* TorrentCell.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = TorrentCell.h; path = macosx/TorrentCell.h; sourceTree = "<group>"; };
    295                 4DDBB71909E16BAE00284745 /* transmissioncli */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = transmissioncli; sourceTree = BUILT_PRODUCTS_DIR; };
     295                4DDBB71909E16BAE00284745 /* transmissioncli */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = transmissioncli; sourceTree = BUILT_PRODUCTS_DIR; };
    296296                4DDBB71B09E16BF100284745 /* transmissioncli.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = transmissioncli.c; path = cli/transmissioncli.c; sourceTree = "<group>"; };
    297297                4DDFDD20099A5D8E00189D81 /* DownloadBadge.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = DownloadBadge.png; path = macosx/Images/DownloadBadge.png; sourceTree = "<group>"; };
  • branches/nat-traversal/macosx/Controller.m

    r899 r900  
    14081408        return;
    14091409
    1410     int desiredActive = [fDefaults integerForKey: @"WaitToStartNumber"];
     1410    int desiredActive = [fDefaults integerForKey: @"QueueDownloadNumber"];
    14111411   
    14121412    NSEnumerator * enumerator = [fTorrents objectEnumerator];
     
    15021502   
    15031503    //determine the number of downloads needed to start
    1504     int desiredActive = [fDefaults integerForKey: @"WaitToStartNumber"];
     1504    int desiredActive = [fDefaults integerForKey: @"QueueDownloadNumber"];
    15051505           
    15061506    NSEnumerator * enumerator = [fTorrents objectEnumerator];
  • branches/nat-traversal/macosx/Defaults.plist

    r880 r900  
    6161        <key>Queue</key>
    6262        <false/>
     63        <key>QueueDownloadNumber</key>
     64        <integer>3</integer>
    6365        <key>RatioCheck</key>
    6466        <false/>
     
    101103        <key>UseAdvancedBar</key>
    102104        <false/>
    103         <key>WaitToStartNumber</key>
    104         <integer>3</integer>
    105105</dict>
    106106</plist>
  • branches/nat-traversal/macosx/PrefsController.m

    r893 r900  
    263263    [fQueueCheck setState: useQueue];
    264264    [fQueueNumberField setEnabled: useQueue];
    265     [fQueueNumberField setIntValue: [fDefaults integerForKey: @"WaitToStartNumber"]];
     265    [fQueueNumberField setIntValue: [fDefaults integerForKey: @"QueueDownloadNumber"]];
    266266   
    267267    [fStartAtOpenCheck setState: [fDefaults boolForKey: @"StartAtOpen"]];
     
    720720    {
    721721        NSBeep();
    722         queueNumber = [fDefaults integerForKey: @"WaitToStartNumber"];
     722        queueNumber = [fDefaults integerForKey: @"QueueDownloadNumber"];
    723723        [sender setIntValue: queueNumber];
    724724    }
    725725    else
    726         [fDefaults setInteger: queueNumber forKey: @"WaitToStartNumber"];
     726        [fDefaults setInteger: queueNumber forKey: @"QueueDownloadNumber"];
    727727   
    728728    [[NSNotificationCenter defaultCenter] postNotificationName: @"GlobalStartSettingChange" object: self];
Note: See TracChangeset for help on using the changeset viewer.