when changing the download folder in the new add window, actually change it

This commit is contained in:
Mitchell Livingston 2008-01-04 05:43:53 +00:00
parent 638f0b0bae
commit d9151c70ee
2 changed files with 4 additions and 1 deletions

View File

@ -121,7 +121,7 @@
[fController askOpenConfirmed: fTorrent];
#warning remove if necessary
#warning remove torrent file if necessary
[self release];
}
@ -151,6 +151,8 @@
ExpandedPathToIconTransformer * iconTransformer = [[ExpandedPathToIconTransformer alloc] init];
[fLocationImageView setImage: [iconTransformer transformedValue: fDestination]];
[iconTransformer release];
[fTorrent changeDownloadFolder: fDestination];
}
else
{

View File

@ -1495,6 +1495,7 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void *
//set libtransmission settings for initialization
tr_ctor * ctor = tr_ctorNew(fLib);
#warning is it actually being forced to pause?
tr_ctorSetPaused(ctor, TR_FORCE, YES);
tr_ctorSetMaxConnectedPeers(ctor, TR_FALLBACK, [fDefaults integerForKey: @"PeersTorrent"]);