Changeset 606


Ignore:
Timestamp:
Jul 16, 2006, 3:14:53 PM (16 years ago)
Author:
livings124
Message:

Blue turtle for aqua, gray turtle for graphite.

Location:
trunk
Files:
2 added
1 deleted
5 edited

Legend:

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

    r597 r606  
    113113                A261F1E40A69A1B10002815A /* Growl.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = A261F1DB0A69A1610002815A /* Growl.framework */; };
    114114                A26D450B0A0503AC00A10BB3 /* peermessages.h in Headers */ = {isa = PBXBuildFile; fileRef = 4D1838A309DEC0430047D688 /* peermessages.h */; };
     115                A26E6A190A6A8C18007E3C14 /* SpeedLimitButtonPressedBlue.png in Resources */ = {isa = PBXBuildFile; fileRef = A26E6A170A6A8C18007E3C14 /* SpeedLimitButtonPressedBlue.png */; };
     116                A26E6A1A0A6A8C18007E3C14 /* SpeedLimitButtonPressedGraphite.png in Resources */ = {isa = PBXBuildFile; fileRef = A26E6A180A6A8C18007E3C14 /* SpeedLimitButtonPressedGraphite.png */; };
    115117                A27431DB0A68538400FA780A /* BarButton.m in Sources */ = {isa = PBXBuildFile; fileRef = A27431D90A68538400FA780A /* BarButton.m */; };
    116                 A27674CF0A5AF1FF00334870 /* SpeedLimitButtonPressed.png in Resources */ = {isa = PBXBuildFile; fileRef = A27674CE0A5AF1FF00334870 /* SpeedLimitButtonPressed.png */; };
    117118                A27A53570A06A76400E1F16F /* StatusSep.png in Resources */ = {isa = PBXBuildFile; fileRef = A27A53560A06A76400E1F16F /* StatusSep.png */; };
    118119                A27A53660A06AEDB00E1F16F /* StatusBorder.png in Resources */ = {isa = PBXBuildFile; fileRef = A27A53650A06AEDB00E1F16F /* StatusBorder.png */; };
     
    310311                A25FCDDE0A37695F002BCBBE /* ResumeSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ResumeSelected.png; path = macosx/Images/ResumeSelected.png; sourceTree = "<group>"; };
    311312                A261F1DB0A69A1610002815A /* Growl.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Growl.framework; sourceTree = "<group>"; };
     313                A26E6A170A6A8C18007E3C14 /* SpeedLimitButtonPressedBlue.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = SpeedLimitButtonPressedBlue.png; path = macosx/Images/SpeedLimitButtonPressedBlue.png; sourceTree = "<group>"; };
     314                A26E6A180A6A8C18007E3C14 /* SpeedLimitButtonPressedGraphite.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = SpeedLimitButtonPressedGraphite.png; path = macosx/Images/SpeedLimitButtonPressedGraphite.png; sourceTree = "<group>"; };
    312315                A27431D80A68538400FA780A /* BarButton.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = BarButton.h; path = macosx/BarButton.h; sourceTree = "<group>"; };
    313316                A27431D90A68538400FA780A /* BarButton.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = BarButton.m; path = macosx/BarButton.m; sourceTree = "<group>"; };
    314                 A27674CE0A5AF1FF00334870 /* SpeedLimitButtonPressed.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = SpeedLimitButtonPressed.png; path = macosx/Images/SpeedLimitButtonPressed.png; sourceTree = "<group>"; };
    315317                A27A53420A06A62500E1F16F /* StatusSep.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = StatusSep.png; path = macosx/Images/StatusSep.png; sourceTree = "<group>"; };
    316318                A27A53560A06A76400E1F16F /* StatusSep.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = StatusSep.png; path = macosx/Images/StatusSep.png; sourceTree = "<group>"; };
     
    472474                                A2173E1B0A33C1B300B0D8AB /* ActionButtonPressed.png */,
    473475                                A2F6DB070A55F31C0058D1E5 /* SpeedLimitButton.png */,
    474                                 A27674CE0A5AF1FF00334870 /* SpeedLimitButtonPressed.png */,
     476                                A26E6A170A6A8C18007E3C14 /* SpeedLimitButtonPressedBlue.png */,
     477                                A26E6A180A6A8C18007E3C14 /* SpeedLimitButtonPressedGraphite.png */,
    475478                                A27A53560A06A76400E1F16F /* StatusSep.png */,
    476479                                A27A53650A06AEDB00E1F16F /* StatusBorder.png */,
     
    737740                                A2D0E0490A54A97C003C72CF /* Bandwidth.png in Resources */,
    738741                                A2F6DB090A55F31C0058D1E5 /* SpeedLimitButton.png in Resources */,
    739                                 A27674CF0A5AF1FF00334870 /* SpeedLimitButtonPressed.png in Resources */,
    740742                                A20AB97B0A5C622A004F81FA /* SmallTurtle.png in Resources */,
    741743                                A253F6F30A698970008EE24F /* FilterBarBackground.png in Resources */,
     
    749751                                A253F72B0A699373008EE24F /* FilterButtonSelectedMain.png in Resources */,
    750752                                A253F72C0A699373008EE24F /* FilterButtonSelectedRight.png in Resources */,
     753                                A26E6A190A6A8C18007E3C14 /* SpeedLimitButtonPressedBlue.png in Resources */,
     754                                A26E6A1A0A6A8C18007E3C14 /* SpeedLimitButtonPressedGraphite.png in Resources */,
    751755                        );
    752756                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/macosx/Controller.h

    r605 r606  
    126126- (void) setInfoTab: (id) sender;
    127127
     128- (void) updateControlTint: (NSNotification *) notification;
     129
    128130- (void) updateUI: (NSTimer *) timer;
    129131- (void) updateTorrentHistory;
  • trunk/macosx/Controller.m

    r605 r606  
    156156   
    157157    //set speed limit
     158    [self updateControlTint: nil];
     159   
    158160    if ([fDefaults boolForKey: @"SpeedLimit"])
    159161    {
     
    259261    //observe notifications
    260262    NSNotificationCenter * nc = [NSNotificationCenter defaultCenter];
     263   
     264    [nc addObserver: self selector: @selector(updateControlTint:)
     265                    name: NSControlTintDidChangeNotification object: nil];
    261266   
    262267    [nc addObserver: self selector: @selector(prepareForUpdate:)
     
    819824}
    820825
     826- (void) updateControlTint: (NSNotification *) notification
     827{
     828    [fSpeedLimitButton setAlternateImage: [fDefaults integerForKey: @"AppleAquaColorVariant"] == NSBlueControlTint
     829            ? [NSImage imageNamed: @"SpeedLimitButtonPressedBlue.png"]
     830            : [NSImage imageNamed: @"SpeedLimitButtonPressedGraphite.png"]];
     831}
     832
    821833- (void) updateUI: (NSTimer *) t
    822834{
     
    19551967
    19561968        case kIOMessageCanSystemSleep:
    1957             /* Prevent idle sleep unless all paused */
     1969            //pevent idle sleep unless all paused
    19581970            active = NO;
    19591971            enumerator = [fTorrents objectEnumerator];
  • trunk/macosx/English.lproj/MainMenu.nib/info.nib

    r597 r606  
    3232        <key>IBOpenObjects</key>
    3333        <array>
    34                 <integer>1603</integer>
     34                <integer>21</integer>
    3535        </array>
    3636        <key>IBSystem Version</key>
Note: See TracChangeset for help on using the changeset viewer.