mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
make autostart variable the same as in .6
This commit is contained in:
parent
13c827a76e
commit
f680407682
4 changed files with 6 additions and 6 deletions
|
@ -299,7 +299,7 @@
|
|||
4DAB87C40ABE1F730081CF7E /* http.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = http.c; path = libtransmission/http.c; sourceTree = "<group>"; };
|
||||
4DCCBB3C09C3D71100D3CABF /* TorrentCell.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = TorrentCell.m; path = macosx/TorrentCell.m; sourceTree = "<group>"; };
|
||||
4DCCBB3D09C3D71100D3CABF /* TorrentCell.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = TorrentCell.h; path = macosx/TorrentCell.h; sourceTree = "<group>"; };
|
||||
4DDBB71909E16BAE00284745 /* transmissioncli */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = transmissioncli; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
4DDBB71909E16BAE00284745 /* transmissioncli */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = transmissioncli; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
4DDBB71B09E16BF100284745 /* transmissioncli.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = transmissioncli.c; path = cli/transmissioncli.c; sourceTree = "<group>"; };
|
||||
4DDFDD20099A5D8E00189D81 /* DownloadBadge.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = DownloadBadge.png; path = macosx/Images/DownloadBadge.png; sourceTree = "<group>"; };
|
||||
4DDFDD21099A5D8E00189D81 /* UploadBadge.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = UploadBadge.png; path = macosx/Images/UploadBadge.png; sourceTree = "<group>"; };
|
||||
|
|
|
@ -8,6 +8,8 @@
|
|||
<string>~/Desktop</string>
|
||||
<key>AutoSize</key>
|
||||
<false/>
|
||||
<key>AutoStartDownload</key>
|
||||
<true/>
|
||||
<key>BadgeDownloadRate</key>
|
||||
<true/>
|
||||
<key>BadgeUploadRate</key>
|
||||
|
@ -92,8 +94,6 @@
|
|||
<integer>10</integer>
|
||||
<key>SpeedLimitUploadLimit</key>
|
||||
<integer>10</integer>
|
||||
<key>StartAtOpen</key>
|
||||
<true/>
|
||||
<key>StatusBar</key>
|
||||
<true/>
|
||||
<key>UpdateCheck</key>
|
||||
|
|
|
@ -264,7 +264,7 @@
|
|||
[fQueueNumberField setEnabled: useQueue];
|
||||
[fQueueNumberField setIntValue: [fDefaults integerForKey: @"QueueDownloadNumber"]];
|
||||
|
||||
[fStartAtOpenCheck setState: [fDefaults boolForKey: @"StartAtOpen"]];
|
||||
[fStartAtOpenCheck setState: [fDefaults boolForKey: @"AutoStartDownload"]];
|
||||
|
||||
//set private torrents
|
||||
BOOL copyTorrents = [fDefaults boolForKey: @"SavePrivateTorrent"];
|
||||
|
@ -701,7 +701,7 @@
|
|||
|
||||
- (void) setStartAtOpen: (id) sender
|
||||
{
|
||||
[fDefaults setBool: [sender state] == NSOnState forKey: @"StartAtOpen"];
|
||||
[fDefaults setBool: [sender state] == NSOnState forKey: @"AutoStartDownload"];
|
||||
}
|
||||
|
||||
- (void) setUseQueue: (id) sender
|
||||
|
|
|
@ -756,7 +756,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
|||
fRatioLimit = ratioLimit ? [ratioLimit floatValue] : [fDefaults floatForKey: @"RatioLimit"];
|
||||
fFinishedSeeding = NO;
|
||||
|
||||
fWaitToStart = waitToStart ? [waitToStart boolValue] : [fDefaults boolForKey: @"StartAtOpen"];
|
||||
fWaitToStart = waitToStart ? [waitToStart boolValue] : [fDefaults boolForKey: @"AutoStartDownload"];
|
||||
fOrderValue = orderValue ? [orderValue intValue] : tr_torrentCount(fLib) - 1;
|
||||
|
||||
NSString * fileType = fInfo->multifile ? NSFileTypeForHFSTypeCode('fldr') : [[self name] pathExtension];
|
||||
|
|
Loading…
Reference in a new issue