- Timestamp:
- 02/23/2010 04:51:22 PM (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/PlayerFramework/SapphireFrappliance/Browser/SapphireMarkMenu.m
r1092 r1165 289 289 290 290 NSString *prettyName = [fileMeta prettyName]; 291 if(prettyName != nil && [[ [[fileMeta path] lastPathComponent] stringByDeletingPathExtension] caseInsensitiveCompare:prettyName] != NSOrderedSame)291 if(prettyName != nil && [[fileMeta fileName] caseInsensitiveCompare:prettyName] != NSOrderedSame) 292 292 { 293 293 [marks insertObject: … … 469 469 NSString *savePath = [[joinList objectAtIndex:0] path]; 470 470 BOOL hasmovExt = [[savePath pathExtension] isEqualToString:@"mov"]; 471 NSString *base = [ savePath stringByDeletingPathExtension];471 NSString *base = [[joinList objectAtIndex:0] extensionlessPath]; 472 472 if([[base lowercaseString] hasSuffix:@" part 1"]) 473 473 base = [base substringToIndex:[base length] - 7]; … … 750 750 { 751 751 NSString *title = [NSString stringWithFormat:BRLocalizedString(@"Rename %@", @"Rename a file, directory, or collection, argument is path"), [fileMeta path]]; 752 NSString *oldName = [ [[fileMeta path] lastPathComponent] stringByDeletingPathExtension];752 NSString *oldName = [fileMeta fileName]; 753 753 754 754 NSInvocation *invoke = [NSInvocation invocationWithMethodSignature:[fileMeta methodSignatureForSelector:@selector(rename:)]];
