Changeset 409


Ignore:
Timestamp:
Jun 20, 2006, 3:54:35 AM (16 years ago)
Author:
livings124
Message:

No need to force resizing now that window resizing is allowed.

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r408 r409  
    5959   
    6060    [window setFrameAutosaveName: @"InspectorWindowFrame"];
    61     [window setFrameUsingName: @"InspectorWindowFrame" force: YES];
     61    [window setFrameUsingName: @"InspectorWindowFrame"];
    6262   
    6363    NSRect frame = [window frame];
    64     float difference = TAB_INFO_HEIGHT - [[[fTabView selectedTabViewItem]
    65                                                     view] frame].size.height;
     64    float difference = TAB_INFO_HEIGHT - [[[fTabView selectedTabViewItem] view] frame].size.height;
    6665    frame.origin.y -= difference;
    6766    frame.size.height += difference;
  • trunk/macosx/Torrent.m

    r407 r409  
    590590- (void) trashFile: (NSString *) path
    591591{
    592     if( ![[NSWorkspace sharedWorkspace] performFileOperation:
    593            NSWorkspaceRecycleOperation source:
    594            [path stringByDeletingLastPathComponent]
    595            destination: @""
    596            files: [NSArray arrayWithObject: [path lastPathComponent]]
    597            tag: nil] )
     592    if (![[NSWorkspace sharedWorkspace] performFileOperation: NSWorkspaceRecycleOperation
     593            source: [path stringByDeletingLastPathComponent] destination: @""
     594            files: [NSArray arrayWithObject: [path lastPathComponent]] tag: nil])
    598595    {
    599596        /* We can't move it to the trash, let's try just to delete it
Note: See TracChangeset for help on using the changeset viewer.