Changeset 782


Ignore:
Timestamp:
Aug 15, 2006, 1:51:45 AM (15 years ago)
Author:
livings124
Message:

Colored dots for connected/not connected

Location:
trunk
Files:
2 added
3 edited

Legend:

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

    r780 r782  
    128128                A2C655650A04FEDC00E9FD82 /* BottomBorder.png in Resources */ = {isa = PBXBuildFile; fileRef = A2C655640A04FEDC00E9FD82 /* BottomBorder.png */; };
    129129                A2D0E0490A54A97C003C72CF /* Bandwidth.png in Resources */ = {isa = PBXBuildFile; fileRef = A2D0E0480A54A97C003C72CF /* Bandwidth.png */; };
     130                A2D4F0830A915F6600890C32 /* RedDot.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A2D4F0820A915F6600890C32 /* RedDot.tiff */; };
     131                A2D4F0850A915F7200890C32 /* GreenDot.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A2D4F0840A915F7200890C32 /* GreenDot.tiff */; };
    130132                A2F40AE40A361C00006B8288 /* Transmission.icns in Resources */ = {isa = PBXBuildFile; fileRef = 4D2784360905709500687951 /* Transmission.icns */; };
    131133                A2F6DB090A55F31C0058D1E5 /* SpeedLimitButton.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F6DB070A55F31C0058D1E5 /* SpeedLimitButton.png */; };
     
    331333                A2C655640A04FEDC00E9FD82 /* BottomBorder.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = BottomBorder.png; path = macosx/Images/BottomBorder.png; sourceTree = "<group>"; };
    332334                A2D0E0480A54A97C003C72CF /* Bandwidth.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Bandwidth.png; path = macosx/Images/Bandwidth.png; sourceTree = "<group>"; };
     335                A2D4F0820A915F6600890C32 /* RedDot.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = RedDot.tiff; path = macosx/Images/RedDot.tiff; sourceTree = "<group>"; };
     336                A2D4F0840A915F7200890C32 /* GreenDot.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = GreenDot.tiff; path = macosx/Images/GreenDot.tiff; sourceTree = "<group>"; };
    333337                A2F6DB070A55F31C0058D1E5 /* SpeedLimitButton.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = SpeedLimitButton.png; path = macosx/Images/SpeedLimitButton.png; sourceTree = "<group>"; };
    334338                A2F8951E0A2D4BA500ED2127 /* Credits.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = Credits.rtf; path = macosx/Credits.rtf; sourceTree = "<group>"; };
     
    441445                                A2305A7E0A3DC9E400AB2D77 /* ProgressBarGray.png */,
    442446                                A2305A7F0A3DC9E400AB2D77 /* ProgressBarGreen.png */,
     447                                A2D4F0840A915F7200890C32 /* GreenDot.tiff */,
     448                                A2D4F0820A915F6600890C32 /* RedDot.tiff */,
    443449                                A20AB97A0A5C622A004F81FA /* SmallTurtle.png */,
    444450                                A2D0E0480A54A97C003C72CF /* Bandwidth.png */,
     
    759765                                A29597350A72A9E10057248B /* StatusBarBackground.png in Resources */,
    760766                                A259317E0A73B2CC002F4FE7 /* Transmission Help in Resources */,
     767                                A2D4F0830A915F6600890C32 /* RedDot.tiff in Resources */,
     768                                A2D4F0850A915F7200890C32 /* GreenDot.tiff in Resources */,
    761769                        );
    762770                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/macosx/InfoWindowController.h

    r780 r782  
    3131    NSArray * fTorrents;
    3232    NSMutableArray * fPeers, * fFiles;
    33     NSImage * fAppIcon, * fCheckImage;
     33    NSImage * fAppIcon, * fDotGreen, * fDotRed;
    3434   
    3535    IBOutlet NSTabView * fTabView;
  • trunk/macosx/InfoWindowController.m

    r781 r782  
    5757{
    5858    fAppIcon = [[NSApp applicationIconImage] copy];
    59     fCheckImage = [NSImage imageNamed: @"NSMenuCheckmark"];
     59    fDotGreen = [NSImage imageNamed: @"GreenDot.tiff"];
     60    fDotRed = [NSImage imageNamed: @"RedDot.tiff"];
    6061   
    6162    fTorrents = [[NSArray alloc] init];
     
    454455       
    455456        if ([ident isEqualToString: @"Connected"])
    456             return [[peer objectForKey: @"Connected"] boolValue] ? fCheckImage : nil;
     457            return [[peer objectForKey: @"Connected"] boolValue] ? fDotGreen : fDotRed;
    457458        else if ([ident isEqualToString: @"UL To"])
    458459            return [[peer objectForKey: @"UL To"] boolValue] ? @"Y" : @"";
Note: See TracChangeset for help on using the changeset viewer.