Changeset 10237
- Timestamp:
- Feb 20, 2010, 2:43:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r10218 r10237 1002 1002 forcePath: [dict objectForKey: @"Path"]]; 1003 1003 [dict release]; 1004 }1005 1006 - (void) incompleteChoiceClosed: (NSOpenPanel *) openPanel returnCode: (NSInteger) code contextInfo: (NSDictionary *) dictionary1007 {1008 if (code == NSOKButton)1009 [fDefaults setObject: [[openPanel filenames] objectAtIndex: 0] forKey: @"IncompleteDownloadFolder"];1010 else1011 [fDefaults setBool: NO forKey: @"UseIncompleteDownloadFolder"];1012 1013 [self performSelectorOnMainThread: @selector(openFilesWithDict:) withObject: dictionary waitUntilDone: NO];1014 }1015 1016 - (void) downloadChoiceClosed: (NSOpenPanel *) openPanel returnCode: (NSInteger) code contextInfo: (NSDictionary *) dictionary1017 {1018 if (code == NSOKButton)1019 {1020 [fDefaults setObject: [[openPanel filenames] objectAtIndex: 0] forKey: @"DownloadFolder"];1021 [self performSelectorOnMainThread: @selector(openFilesWithDict:) withObject: dictionary waitUntilDone: NO];1022 }1023 else1024 [dictionary release];1025 1004 } 1026 1005 … … 4047 4026 for (Torrent * torrent in fTorrents) 4048 4027 [torrent wakeUp]; 4049 #warning check speed limit timer?4050 //[self autoSpeedLimitChange: nil];4051 4028 break; 4052 4029 }
Note: See TracChangeset
for help on using the changeset viewer.