Ignore:
Timestamp:
Sep 25, 2006, 8:53:10 PM (16 years ago)
Author:
livings124
Message:

Move the pieces viewer into the Activity pane of Inspector.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r922 r923  
    170170        [fPeers removeAllObjects];
    171171        [fPeerTable reloadData];
     172       
     173        [fPiecesView setTorrent: nil];
    172174    }
    173175    else
     
    206208        [fTorrentLocationField setSelectable: YES];
    207209        [fDataLocationField setSelectable: YES];
     210       
     211        [fPiecesView setTorrent: torrent];
    208212    }
    209213   
     
    280284        if ([[[fTabView selectedTabViewItem] identifier] isEqualToString: TAB_PEERS_IDENT])
    281285            [self reloadPeerTable];
     286       
     287        //update pieces view if visible
     288        if ([[[fTabView selectedTabViewItem] identifier] isEqualToString: TAB_ACTIVITY_IDENT])
     289            [fPiecesView updateView: NO];
    282290    }
    283291}
     
    385393    float height;
    386394    if ([identifier isEqualToString: TAB_ACTIVITY_IDENT])
     395    {
    387396        height = TAB_ACTIVITY_HEIGHT;
     397       
     398        [fPiecesView updateView: NO];
     399    }
    388400    else if ([identifier isEqualToString: TAB_PEERS_IDENT])
    389401    {
Note: See TracChangeset for help on using the changeset viewer.