Changeset 7212
- Timestamp:
- Nov 30, 2008, 9:23:59 PM (12 years ago)
- Location:
- trunk/macosx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/AddWindowController.m
r7210 r7212 258 258 } 259 259 260 - (void) setDestination : (NSString *) destination260 - (void) setDestinationPath: (NSString *) destination 261 261 { 262 262 [fDestination release]; … … 276 276 { 277 277 if (code == NSOKButton) 278 [self setDestination : [[openPanel filenames] objectAtIndex: 0]];278 [self setDestinationPath: [[openPanel filenames] objectAtIndex: 0]]; 279 279 else 280 280 { … … 292 292 - (void) changeGroupValue: (id) sender 293 293 { 294 NSInteger previousGroup = fGroupValue; 294 295 fGroupValue = [sender tag]; 295 296 if ([[GroupsController groups] usesCustomDownloadLocationForIndex: fGroupValue] && 296 297 [[GroupsController groups] customDownloadLocationForIndex: fGroupValue]) 297 [self setDestination: [[GroupsController groups] customDownloadLocationForIndex: fGroupValue]]; 298 [self setDestinationPath: [[GroupsController groups] customDownloadLocationForIndex: fGroupValue]]; 299 else if ([fDestination isEqualToString: [[GroupsController groups] customDownloadLocationForIndex: previousGroup]]) 300 [self setDestinationPath: [[NSUserDefaults standardUserDefaults] stringForKey: @"DownloadFolder"]]; 301 else; 298 302 } 299 303 -
trunk/macosx/GroupsWindowController.m
r7210 r7212 224 224 [[GroupsController groups] setUsesCustomDownloadLocation: NO forIndex: index]; 225 225 [fCustomLocationEnableCheck setState: NSOffState]; 226 [fCustomLocationPopUp setEnabled: NO]; 226 227 } 227 228
Note: See TracChangeset
for help on using the changeset viewer.