Changeset 5786


Ignore:
Timestamp:
May 9, 2008, 3:17:30 PM (14 years ago)
Author:
livings124
Message:

make the "group = none" image an empty box

Location:
trunk
Files:
1 added
2 edited

Legend:

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

    r5780 r5786  
    125125                A25FCDEF0A3769A6002BCBBE /* PauseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = A25FCDDD0A37695F002BCBBE /* PauseSelected.png */; };
    126126                A25FCDF00A3769AC002BCBBE /* ResumeSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = A25FCDDE0A37695F002BCBBE /* ResumeSelected.png */; };
     127                A26146E10DD4A0160060F033 /* GroupsNoneTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A26146E00DD4A0160060F033 /* GroupsNoneTemplate.png */; };
    127128                A261A8260C6A0D68003BAFDA /* Error.png in Resources */ = {isa = PBXBuildFile; fileRef = A261A8250C6A0D68003BAFDA /* Error.png */; };
    128129                A261F1DC0A69A1610002815A /* Growl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A261F1DB0A69A1610002815A /* Growl.framework */; };
     
    518519                A25FCDDD0A37695F002BCBBE /* PauseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PauseSelected.png; path = macosx/Images/PauseSelected.png; sourceTree = "<group>"; };
    519520                A25FCDDE0A37695F002BCBBE /* ResumeSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ResumeSelected.png; path = macosx/Images/ResumeSelected.png; sourceTree = "<group>"; };
     521                A26146E00DD4A0160060F033 /* GroupsNoneTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = GroupsNoneTemplate.png; path = macosx/Images/GroupsNoneTemplate.png; sourceTree = "<group>"; };
    520522                A261A8250C6A0D68003BAFDA /* Error.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Error.png; path = macosx/Images/Error.png; sourceTree = "<group>"; };
    521523                A261F1DB0A69A1610002815A /* Growl.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Growl.framework; path = macosx/Growl.framework; sourceTree = "<group>"; };
     
    987989                                4D2784360905709500687951 /* Transmission.icns */,
    988990                                4D043A7E090AE979009FEDA8 /* TransmissionDocument.icns */,
     991                                A26146E00DD4A0160060F033 /* GroupsNoneTemplate.png */,
    989992                                A232D29D0A70903E00973B12 /* Filter.png */,
    990993                                A2F41DBA0D0B96C0006CE378 /* FilterBlue.png */,
     
    17251728                                A29E04B50DA8764100705643 /* Network.png in Resources */,
    17261729                                A224D2640DAAC55F000954EA /* Peers.png in Resources */,
     1730                                A26146E10DD4A0160060F033 /* GroupsNoneTemplate.png in Resources */,
    17271731                        );
    17281732                        runOnlyForDeploymentPostprocessing = 0;
  • trunk/macosx/Controller.m

    r5751 r5786  
    22692269            break;
    22702270        case -1:
    2271             if ([NSApp isOnLeopardOrBetter])
    2272                 icon = [NSImage imageNamed: NSImageNameStopProgressTemplate];
     2271            icon = [NSImage imageNamed: @"GroupsNoneTemplate.png"];
    22732272            toolTip = [NSString stringWithFormat: @"%@: %@", NSLocalizedString(@"Group", "Groups -> Button"),
    22742273                        NSLocalizedString(@"No Label", "Groups -> Button")];
     
    25452544            int group = [[item objectForKey: @"Group"] intValue];
    25462545            return group != -1 ? [[GroupsController groups] imageForIndex: group isSmall: YES]
    2547                                 : [NSImage imageNamed: NSImageNameStopProgressTemplate];
     2546                                : [NSImage imageNamed: @"GroupsNoneTemplate.png"];
    25482547        }
    25492548        else if ([ident isEqualToString: @"DL Image"])
Note: See TracChangeset for help on using the changeset viewer.