Changeset 5751


Ignore:
Timestamp:
May 6, 2008, 1:53:15 AM (14 years ago)
Author:
livings124
Message:

fix a crash when sorting by tracker order; update NEWS

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r5726 r5751  
    66   + IP blocking using the Bluetack Level1 blocklist
    77   + Ability to reset global statistics
     8   + Better support of multitracker torrents
    89   + Various bugfixes
    910- Mac
  • trunk/macosx/Controller.m

    r5710 r5751  
    4040#import "NSStringAdditions.h"
    4141#import "NSMenuAdditions.h"
    42 #import "UKKQueue.h"
    4342#import "ExpandedPathToPathTransformer.h"
    4443#import "ExpandedPathToIconTransformer.h"
     
    4645#include "utils.h" //tr_getRatio()
    4746
     47#import "UKKQueue.h"
    4848#import <Sparkle/Sparkle.h>
    49 
    5049
    5150#define TOOLBAR_CREATE                  @"Toolbar Create"
     
    18171816        NSSortDescriptor * nameDescriptor = [[[NSSortDescriptor alloc] initWithKey: @"name" ascending: asc
    18181817                                                selector: @selector(caseInsensitiveCompare:)] autorelease],
    1819                         * trackerDescriptor = [[[NSSortDescriptor alloc] initWithKey: @"trackerAddress" ascending: asc
     1818                        * trackerDescriptor = [[[NSSortDescriptor alloc] initWithKey: @"trackerAddressAnnounce" ascending: asc
    18201819                                                selector: @selector(caseInsensitiveCompare:)] autorelease];
    18211820       
     
    20072006        for (i = 0; i < [allTorrents count]; i++)
    20082007        {
    2009             Torrent * torrent = [allTorrents objectAtIndex: i];
     2008            torrent = [allTorrents objectAtIndex: i];
    20102009            int groupValue = [torrent groupValue];
    20112010            if (groupValue != oldGroupValue)
     
    22592258- (void) updateGroupsFilterButton
    22602259{
    2261     int index = [fDefaults integerForKey: @"FilterGroup"];
     2260    int groupIndex = [fDefaults integerForKey: @"FilterGroup"];
    22622261   
    22632262    NSImage * icon = nil;
    22642263    NSString * toolTip;
    2265     switch (index)
     2264    switch (groupIndex)
    22662265    {
    22672266        case GROUP_FILTER_ALL_TAG:
     
    22762275            break;
    22772276        default:
    2278             icon = [[GroupsController groups] imageForIndex: index isSmall: YES];
     2277            icon = [[GroupsController groups] imageForIndex: groupIndex isSmall: YES];
    22792278            toolTip = [NSString stringWithFormat: @"%@: %@", NSLocalizedString(@"Group", "Groups -> Button"),
    2280                         [[GroupsController groups] nameForIndex: index]];
     2279                        [[GroupsController groups] nameForIndex: groupIndex]];
    22812280    }
    22822281   
  • trunk/macosx/English.lproj/InfoPlist.strings

    r4400 r5751  
    11/* Localized versions of Info.plist keys */
    22
    3 CFBundleName = "Transmission";
    43NSHumanReadableCopyright = "Copyright 2005-2008 The Transmission Project";
  • trunk/macosx/InfoWindowController.m

    r5734 r5751  
    11231123}
    11241124
     1125#warning reload table when necessary?
    11251126- (void) updateInfoTracker
    11261127{
Note: See TracChangeset for help on using the changeset viewer.