Changeset 4892
- Timestamp:
- 09/05/07 11:58:39 (11 months ago)
- Files:
-
- Footagehead/trunk/FHBrowserController.m (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Footagehead/trunk/FHBrowserController.m
r4886 r4892 504 504 name:FHImageLoaderDidLoadAllFiles]; 505 505 506 [[[NSWorkspace sharedWorkspace] notificationCenter] 507 addObserver:self 508 selector:@selector(workspaceDidChangeMounts:) 509 name:NSWorkspaceDidMountNotification]; 510 511 [[[NSWorkspace sharedWorkspace] notificationCenter] 512 addObserver:self 513 selector:@selector(workspaceDidChangeMounts:) 514 name:NSWorkspaceDidUnmountNotification]; 515 506 516 [imageLoader release]; 507 517 … … 645 655 [_handler release]; 646 656 _handler = NULL; 657 } 658 659 660 661 - (void)workspaceDidChangeMounts:(NSNotification *)notification { 662 WIURL *url; 663 664 url = [_handler URL]; 665 666 if([url isFileURL] && [[url path] isEqualToString:@""]) 667 [self _reload]; 647 668 } 648 669 … … 894 915 row = [_tableView selectedRow]; 895 916 896 return (row < 0) ? NSNotFound : row;917 return (row < 0) ? NSNotFound : (NSUInteger) row; 897 918 } 898 919
