Changeset 235


Ignore:
Timestamp:
Apr 22, 2006, 4:54:20 PM (16 years ago)
Author:
titer
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r234 r235  
    202202- (void) reveal
    203203{
    204     NSString * path = [NSString stringWithFormat: @"%@/%@",
    205                         [self getFolder], [self name]];
    206     NSURL * url = [NSURL fileURLWithPath: path];
    207 
    208     [[NSWorkspace sharedWorkspace] selectFile: [url path]
     204    [[NSWorkspace sharedWorkspace] selectFile: [[self getFolder]
     205        stringByAppendingPathComponent: [self name]]
    209206        inFileViewerRootedAtPath: nil];
    210207}
     
    217214- (void) trashData
    218215{
    219     [self trashPath: [NSString stringWithFormat: @"%@/%@",
    220         [self getFolder], [self name]]];
     216    [self trashPath: [[self getFolder]
     217        stringByAppendingPathComponent: [self name]]];
    221218}
    222219
Note: See TracChangeset for help on using the changeset viewer.