1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-03 18:25:35 +00:00
This commit is contained in:
Eric Petit 2006-04-22 16:54:20 +00:00
parent 229d60507b
commit de6cc777cc

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