Changeset 5664


Ignore:
Timestamp:
Apr 22, 2008, 1:16:39 PM (14 years ago)
Author:
livings124
Message:

remove an unnecessary class

Location:
trunk
Files:
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Transmission.xcodeproj/project.pbxproj

    r5607 r5664  
    7979                A20B6FA50C4D97840034AB1D /* PriorityNone.png in Resources */ = {isa = PBXBuildFile; fileRef = A20B6FA40C4D97840034AB1D /* PriorityNone.png */; };
    8080                A20B6FAE0C4D9B040034AB1D /* PriorityNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = A20B6FAD0C4D9B040034AB1D /* PriorityNormal.png */; };
    81                 A20BFFB70D091CC700CE5D2B /* ToolbarSegmentedCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A20BFFB60D091CC700CE5D2B /* ToolbarSegmentedCell.m */; };
    8281                A21282A80CA6C66800EAEE0F /* StatusBarView.m in Sources */ = {isa = PBXBuildFile; fileRef = A21282A60CA6C66800EAEE0F /* StatusBarView.m */; };
    8382                A215760B0C0D449A0057A26A /* NSBezierPathAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = A21576090C0D449A0057A26A /* NSBezierPathAdditions.m */; };
     
    449448                A20B6FA40C4D97840034AB1D /* PriorityNone.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PriorityNone.png; path = macosx/Images/PriorityNone.png; sourceTree = "<group>"; };
    450449                A20B6FAD0C4D9B040034AB1D /* PriorityNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PriorityNormal.png; path = macosx/Images/PriorityNormal.png; sourceTree = "<group>"; };
    451                 A20BFFB50D091CC700CE5D2B /* ToolbarSegmentedCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ToolbarSegmentedCell.h; path = macosx/ToolbarSegmentedCell.h; sourceTree = "<group>"; };
    452                 A20BFFB60D091CC700CE5D2B /* ToolbarSegmentedCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = ToolbarSegmentedCell.m; path = macosx/ToolbarSegmentedCell.m; sourceTree = "<group>"; };
    453450                A21282A50CA6C66800EAEE0F /* StatusBarView.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = StatusBarView.h; path = macosx/StatusBarView.h; sourceTree = "<group>"; };
    454451                A21282A60CA6C66800EAEE0F /* StatusBarView.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = StatusBarView.m; path = macosx/StatusBarView.m; sourceTree = "<group>"; };
     
    885882                                A21979890D07B78400438EA7 /* GroupToolbarItem.h */,
    886883                                A219798A0D07B78400438EA7 /* GroupToolbarItem.m */,
    887                                 A20BFFB50D091CC700CE5D2B /* ToolbarSegmentedCell.h */,
    888                                 A20BFFB60D091CC700CE5D2B /* ToolbarSegmentedCell.m */,
    889884                                A22180960D148A71007D09ED /* GroupsWindowController.h */,
    890885                                A22180970D148A71007D09ED /* GroupsWindowController.m */,
     
    18591854                                A2C89D600CFCBF57004CC2BC /* ButtonToolbarItem.m in Sources */,
    18601855                                A219798B0D07B78400438EA7 /* GroupToolbarItem.m in Sources */,
    1861                                 A20BFFB70D091CC700CE5D2B /* ToolbarSegmentedCell.m in Sources */,
    18621856                                3C7A11950D0B2EE300B5701F /* getgateway.c in Sources */,
    18631857                                3C7A11960D0B2EE300B5701F /* natpmp.c in Sources */,
  • trunk/macosx/Controller.m

    r5609 r5664  
    3636#import "ButtonToolbarItem.h"
    3737#import "GroupToolbarItem.h"
    38 #import "ToolbarSegmentedCell.h"
    3938#import "NSApplicationAdditions.h"
    4039#import "NSStringAdditions.h"
     
    30933092        GroupToolbarItem * groupItem = [[GroupToolbarItem alloc] initWithItemIdentifier: ident];
    30943093       
    3095         NSSegmentedControl * segmentedControl = [[NSSegmentedControl alloc] initWithFrame: NSZeroRect];
    3096         [segmentedControl setCell: [[[ToolbarSegmentedCell alloc] init] autorelease]];
     3094        NSSegmentedControl * segmentedControl = [[NSSegmentedControl alloc] init];
    30973095        [groupItem setView: segmentedControl];
    30983096        NSSegmentedCell * segmentedCell = (NSSegmentedCell *)[segmentedControl cell];
     
    31323130        GroupToolbarItem * groupItem = [[GroupToolbarItem alloc] initWithItemIdentifier: ident];
    31333131       
    3134         NSSegmentedControl * segmentedControl = [[NSSegmentedControl alloc] initWithFrame: NSZeroRect];
    3135         [segmentedControl setCell: [[[ToolbarSegmentedCell alloc] init] autorelease]];
     3132        NSSegmentedControl * segmentedControl = [[NSSegmentedControl alloc] init];
    31363133        [groupItem setView: segmentedControl];
    31373134        NSSegmentedCell * segmentedCell = (NSSegmentedCell *)[segmentedControl cell];
  • trunk/macosx/Torrent.m

    r5657 r5664  
    925925- (BOOL) isError
    926926{
    927     return fStat->error != 0;
     927    return fStat->error != TR_OK;
    928928}
    929929
     
    10891089       
    10901090        if (fStalled)
    1091             string = [NSString stringWithFormat: @"%@, %@", NSLocalizedString(@"Stalled", "Torrent -> status string"), string];
     1091            string = [NSLocalizedString(@"Stalled", "Torrent -> status string") stringByAppendingFormat: @", %@", string];
    10921092    }
    10931093   
Note: See TracChangeset for help on using the changeset viewer.