Changeset 5809


Ignore:
Timestamp:
May 11, 2008, 9:57:34 PM (14 years ago)
Author:
livings124
Message:

a little tidyup; update NEWS

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r5805 r5809  
    44http://trac.transmissionbt.com/query?group=component&milestone=1.30
    55- Mac
    6    + Status strings are toggled from the action menu (they are no longer clickable)
     6   + Status strings are toggled from the action button (they are no longer clickable)
    77
    881.20 (2008/05/09)
  • trunk/macosx/Controller.m

    r5808 r5809  
    25212521- (BOOL) outlineView: (NSOutlineView *) outlineView isItemExpandable: (id) item
    25222522{
    2523 
    25242523    return ![item isKindOfClass: [Torrent class]];
    25252524}
     
    26662665                [torrent setGroupValue: groupValue];*/
    26672666           
    2668            
    26692667            NSArray * groupTorrents = [item objectForKey: @"Torrents"];
    2670             while (newRow > 0 && [movingTorrents containsObject: [groupTorrents objectAtIndex: newRow-1]])
    2671                 newRow--;
    2672            
    2673             if (newRow > 0)
    2674                 topTorrent = [groupTorrents objectAtIndex: newRow-1];
     2668            for (i = newRow-1; i >= 0; i--)
     2669            {
     2670                Torrent * tempTorrent = [groupTorrents objectAtIndex: i];
     2671                if (![movingTorrents containsObject: tempTorrent])
     2672                {
     2673                    topTorrent = tempTorrent;
     2674                    break;
     2675                }
     2676            }
    26752677        }
    26762678        else
    26772679        {
    2678             while (newRow > 0 && [movingTorrents containsObject: [fDisplayedTorrents objectAtIndex: newRow-1]])
    2679                 newRow--;
    2680            
    2681             if (newRow > 0)
    2682                 topTorrent = [fDisplayedTorrents objectAtIndex: newRow-1];
     2680            for (i = newRow-1; i >= 0; i--)
     2681            {
     2682                Torrent * tempTorrent = [fDisplayedTorrents objectAtIndex: i];
     2683                if (![movingTorrents containsObject: tempTorrent])
     2684                {
     2685                    topTorrent = tempTorrent;
     2686                    break;
     2687                }
     2688            }
    26832689        }
    26842690       
  • trunk/macosx/TorrentTableView.m

    r5808 r5809  
    140140}
    141141
    142 - (BOOL)shouldCollapseAutoExpandedItemsForDeposited:(BOOL)deposited
    143 {
    144     return NO;
    145 }
    146 
    147142- (void) removeAllCollapsedGroups
    148143{
Note: See TracChangeset for help on using the changeset viewer.