This commit is contained in:
Eric Petit 2006-04-22 16:54:20 +00:00
parent 229d60507b
commit de6cc777cc
1 changed files with 4 additions and 7 deletions

View File

@ -201,11 +201,8 @@
- (void) reveal
{
NSString * path = [NSString stringWithFormat: @"%@/%@",
[self getFolder], [self name]];
NSURL * url = [NSURL fileURLWithPath: path];
[[NSWorkspace sharedWorkspace] selectFile: [url path]
[[NSWorkspace sharedWorkspace] selectFile: [[self getFolder]
stringByAppendingPathComponent: [self name]]
inFileViewerRootedAtPath: nil];
}
@ -216,8 +213,8 @@
- (void) trashData
{
[self trashPath: [NSString stringWithFormat: @"%@/%@",
[self getFolder], [self name]]];
[self trashPath: [[self getFolder]
stringByAppendingPathComponent: [self name]]];
}
- (NSImage *) icon