Changeset 7570


Ignore:
Timestamp:
Jan 2, 2009, 3:35:59 AM (12 years ago)
Author:
livings124
Message:

make the toolbar images templates; auto-generate the blue highlight for selected toolbar buttons (thanks to Leopard)

Location:
trunk
Files:
2 deleted
2 edited
10 moved

Legend:

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

    r7512 r7570  
    5858                4DE5CC9D0980656F00BE280E /* NSStringAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DE5CC9C0980656F00BE280E /* NSStringAdditions.m */; };
    5959                4DE5CCA70980735700BE280E /* Badger.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DE5CCA60980735700BE280E /* Badger.m */; };
    60                 4DE5CCBA0981D27700BE280E /* ResumeAll.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DE5CCB80981D27700BE280E /* ResumeAll.png */; };
    61                 4DE5CCBB0981D27700BE280E /* PauseAll.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DE5CCB90981D27700BE280E /* PauseAll.png */; };
     60                4DE5CCBA0981D27700BE280E /* ToolbarResumeAllTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DE5CCB80981D27700BE280E /* ToolbarResumeAllTemplate.png */; };
     61                4DE5CCBB0981D27700BE280E /* ToolbarPauseAllTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DE5CCB90981D27700BE280E /* ToolbarPauseAllTemplate.png */; };
    6262                4DE5CCCB0981D9BE00BE280E /* Defaults.plist in Resources */ = {isa = PBXBuildFile; fileRef = 4DE5CCCA0981D9BE00BE280E /* Defaults.plist */; };
    6363                4DF0C5AB0899190500DD8943 /* Controller.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DF0C5A90899190500DD8943 /* Controller.m */; };
    64                 4DF7500C08A103AD007B0D70 /* Open.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DF7500708A103AD007B0D70 /* Open.png */; };
    65                 4DF7500D08A103AD007B0D70 /* Info.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DF7500808A103AD007B0D70 /* Info.png */; };
    66                 4DF7500E08A103AD007B0D70 /* Remove.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DF7500908A103AD007B0D70 /* Remove.png */; };
     64                4DF7500C08A103AD007B0D70 /* ToolbarOpenTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DF7500708A103AD007B0D70 /* ToolbarOpenTemplate.png */; };
     65                4DF7500D08A103AD007B0D70 /* ToolbarInfoTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DF7500808A103AD007B0D70 /* ToolbarInfoTemplate.png */; };
     66                4DF7500E08A103AD007B0D70 /* ToolbarRemoveTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = 4DF7500908A103AD007B0D70 /* ToolbarRemoveTemplate.png */; };
    6767                4DFBC2DF09C0970D00D5C571 /* Torrent.m in Sources */ = {isa = PBXBuildFile; fileRef = 4DFBC2DE09C0970D00D5C571 /* Torrent.m */; };
    6868                8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
     
    9999                A22F1E550E7DA8030065DB9D /* sparkle_dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = A22F1E540E7DA8030065DB9D /* sparkle_dsa_pub.pem */; };
    100100                A231274C0D11D0B7003F9AFF /* AboutWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = A231274B0D11D0B7003F9AFF /* AboutWindow.xib */; };
    101                 A232D29E0A70903E00973B12 /* Filter.png in Resources */ = {isa = PBXBuildFile; fileRef = A232D29D0A70903E00973B12 /* Filter.png */; };
     101                A232D29E0A70903E00973B12 /* ToolbarFilterTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A232D29D0A70903E00973B12 /* ToolbarFilterTemplate.png */; };
    102102                A232F07E0EEA034A00041646 /* BonjourController.m in Sources */ = {isa = PBXBuildFile; fileRef = A232F07D0EEA034A00041646 /* BonjourController.m */; };
    103103                A233BD330D8C6585007EE7B4 /* MessageWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = A233BD320D8C6585007EE7B4 /* MessageWindow.xib */; };
     
    127127                A25E74650AF5097C006F11AE /* ExpandedPathToPathTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = A25E74440AF5089E006F11AE /* ExpandedPathToPathTransformer.m */; };
    128128                A25E74660AF5097D006F11AE /* ExpandedPathToIconTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = A25E74460AF5089E006F11AE /* ExpandedPathToIconTransformer.m */; };
    129                 A25FCDEF0A3769A6002BCBBE /* PauseSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = A25FCDDD0A37695F002BCBBE /* PauseSelected.png */; };
    130                 A25FCDF00A3769AC002BCBBE /* ResumeSelected.png in Resources */ = {isa = PBXBuildFile; fileRef = A25FCDDE0A37695F002BCBBE /* ResumeSelected.png */; };
     129                A25FCDEF0A3769A6002BCBBE /* ToolbarPauseSelectedTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A25FCDDD0A37695F002BCBBE /* ToolbarPauseSelectedTemplate.png */; };
     130                A25FCDF00A3769AC002BCBBE /* ToolbarResumeSelectedTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A25FCDDE0A37695F002BCBBE /* ToolbarResumeSelectedTemplate.png */; };
    131131                A26146E10DD4A0160060F033 /* GroupsNoneTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A26146E00DD4A0160060F033 /* GroupsNoneTemplate.png */; };
    132132                A261A8260C6A0D68003BAFDA /* Error.png in Resources */ = {isa = PBXBuildFile; fileRef = A261A8250C6A0D68003BAFDA /* Error.png */; };
     
    188188                A2B3FB4C0E59023000FF78FB /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
    189189                A2B3FB530E59027100FF78FB /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
    190                 A2BB67790D5BA74600AB0618 /* OpenWeb.png in Resources */ = {isa = PBXBuildFile; fileRef = A2BB67780D5BA74600AB0618 /* OpenWeb.png */; };
     190                A2BB67790D5BA74600AB0618 /* ToolbarOpenWebTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A2BB67780D5BA74600AB0618 /* ToolbarOpenWebTemplate.png */; };
    191191                A2BC19850CA9AF5A00DD302A /* CompleteCheck.png in Resources */ = {isa = PBXBuildFile; fileRef = A2BC19840CA9AF5A00DD302A /* CompleteCheck.png */; };
    192192                A2BE9C520C1E4AF5002D16E6 /* makemeta.c in Sources */ = {isa = PBXBuildFile; fileRef = A2BE9C4E0C1E4ADA002D16E6 /* makemeta.c */; };
     
    210210                A2E23AC60CB5E1930002BB25 /* InfoTabButtonCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A2E23AC40CB5E1930002BB25 /* InfoTabButtonCell.m */; };
    211211                A2E2EA920EE321C200EB6308 /* Groups.png in Resources */ = {isa = PBXBuildFile; fileRef = A2E2EA910EE321C200EB6308 /* Groups.png */; };
    212                 A2E9AA760C249AF400085DCF /* Create.png in Resources */ = {isa = PBXBuildFile; fileRef = A2E9AA750C249AF400085DCF /* Create.png */; };
     212                A2E9AA760C249AF400085DCF /* ToolbarCreateTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A2E9AA750C249AF400085DCF /* ToolbarCreateTemplate.png */; };
    213213                A2ED7D8F0CEF431B00970975 /* FilterButton.m in Sources */ = {isa = PBXBuildFile; fileRef = A2ED7D8E0CEF431B00970975 /* FilterButton.m */; };
    214214                A2EF7DEC0C96297400FA9811 /* PurpleDot.png in Resources */ = {isa = PBXBuildFile; fileRef = A2EF7DEB0C96297400FA9811 /* PurpleDot.png */; };
     
    223223                A2F40AE40A361C00006B8288 /* Transmission.icns in Resources */ = {isa = PBXBuildFile; fileRef = 4D2784360905709500687951 /* Transmission.icns */; };
    224224                A2F41DAB0D0B916B006CE378 /* YingYangTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F41DAA0D0B916B006CE378 /* YingYangTemplate.png */; };
    225                 A2F41DBC0D0B96C0006CE378 /* FilterBlue.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F41DBA0D0B96C0006CE378 /* FilterBlue.png */; };
    226                 A2F41DBD0D0B96C0006CE378 /* InfoBlue.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F41DBB0D0B96C0006CE378 /* InfoBlue.png */; };
    227225                A2F41F8E0D73595100B82116 /* InfoTracker.png in Resources */ = {isa = PBXBuildFile; fileRef = A2F41F8D0D73595100B82116 /* InfoTracker.png */; };
    228226                A2FB057F0BFEB6800095564D /* DragOverlayView.m in Sources */ = {isa = PBXBuildFile; fileRef = A2FB057D0BFEB6800095564D /* DragOverlayView.m */; };
     
    428426                4DE5CCA50980735700BE280E /* Badger.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Badger.h; path = macosx/Badger.h; sourceTree = "<group>"; };
    429427                4DE5CCA60980735700BE280E /* Badger.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = Badger.m; path = macosx/Badger.m; sourceTree = "<group>"; };
    430                 4DE5CCB80981D27700BE280E /* ResumeAll.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ResumeAll.png; path = macosx/Images/ResumeAll.png; sourceTree = "<group>"; };
    431                 4DE5CCB90981D27700BE280E /* PauseAll.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PauseAll.png; path = macosx/Images/PauseAll.png; sourceTree = "<group>"; };
     428                4DE5CCB80981D27700BE280E /* ToolbarResumeAllTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ToolbarResumeAllTemplate.png; path = macosx/Images/ToolbarResumeAllTemplate.png; sourceTree = "<group>"; };
     429                4DE5CCB90981D27700BE280E /* ToolbarPauseAllTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ToolbarPauseAllTemplate.png; path = macosx/Images/ToolbarPauseAllTemplate.png; sourceTree = "<group>"; };
    432430                4DE5CCCA0981D9BE00BE280E /* Defaults.plist */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.plist.xml; name = Defaults.plist; path = macosx/Defaults.plist; sourceTree = "<group>"; };
    433431                4DF0C5A90899190500DD8943 /* Controller.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = Controller.m; path = macosx/Controller.m; sourceTree = "<group>"; };
    434432                4DF0C5AA0899190500DD8943 /* Controller.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Controller.h; path = macosx/Controller.h; sourceTree = "<group>"; };
    435                 4DF7500708A103AD007B0D70 /* Open.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Open.png; path = macosx/Images/Open.png; sourceTree = "<group>"; };
    436                 4DF7500808A103AD007B0D70 /* Info.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Info.png; path = macosx/Images/Info.png; sourceTree = "<group>"; };
    437                 4DF7500908A103AD007B0D70 /* Remove.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Remove.png; path = macosx/Images/Remove.png; sourceTree = "<group>"; };
     433                4DF7500708A103AD007B0D70 /* ToolbarOpenTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ToolbarOpenTemplate.png; path = macosx/Images/ToolbarOpenTemplate.png; sourceTree = "<group>"; };
     434                4DF7500808A103AD007B0D70 /* ToolbarInfoTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ToolbarInfoTemplate.png; path = macosx/Images/ToolbarInfoTemplate.png; sourceTree = "<group>"; };
     435                4DF7500908A103AD007B0D70 /* ToolbarRemoveTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ToolbarRemoveTemplate.png; path = macosx/Images/ToolbarRemoveTemplate.png; sourceTree = "<group>"; };
    438436                4DFBC2DD09C0970D00D5C571 /* Torrent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Torrent.h; path = macosx/Torrent.h; sourceTree = "<group>"; };
    439437                4DFBC2DE09C0970D00D5C571 /* Torrent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Torrent.m; path = macosx/Torrent.m; sourceTree = "<group>"; };
     
    487485                A22F1E540E7DA8030065DB9D /* sparkle_dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = sparkle_dsa_pub.pem; path = macosx/sparkle_dsa_pub.pem; sourceTree = "<group>"; };
    488486                A231274B0D11D0B7003F9AFF /* AboutWindow.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = AboutWindow.xib; path = macosx/AboutWindow.xib; sourceTree = "<group>"; };
    489                 A232D29D0A70903E00973B12 /* Filter.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Filter.png; path = macosx/Images/Filter.png; sourceTree = "<group>"; };
     487                A232D29D0A70903E00973B12 /* ToolbarFilterTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ToolbarFilterTemplate.png; path = macosx/Images/ToolbarFilterTemplate.png; sourceTree = "<group>"; };
    490488                A232F07C0EEA034A00041646 /* BonjourController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = BonjourController.h; path = macosx/BonjourController.h; sourceTree = "<group>"; };
    491489                A232F07D0EEA034A00041646 /* BonjourController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = BonjourController.m; path = macosx/BonjourController.m; sourceTree = "<group>"; };
     
    517515                A25E74460AF5089E006F11AE /* ExpandedPathToIconTransformer.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = ExpandedPathToIconTransformer.m; path = macosx/ExpandedPathToIconTransformer.m; sourceTree = "<group>"; };
    518516                A25E74470AF5089E006F11AE /* ExpandedPathToIconTransformer.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ExpandedPathToIconTransformer.h; path = macosx/ExpandedPathToIconTransformer.h; sourceTree = "<group>"; };
    519                 A25FCDDD0A37695F002BCBBE /* PauseSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PauseSelected.png; path = macosx/Images/PauseSelected.png; sourceTree = "<group>"; };
    520                 A25FCDDE0A37695F002BCBBE /* ResumeSelected.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ResumeSelected.png; path = macosx/Images/ResumeSelected.png; sourceTree = "<group>"; };
     517                A25FCDDD0A37695F002BCBBE /* ToolbarPauseSelectedTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ToolbarPauseSelectedTemplate.png; path = macosx/Images/ToolbarPauseSelectedTemplate.png; sourceTree = "<group>"; };
     518                A25FCDDE0A37695F002BCBBE /* ToolbarResumeSelectedTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ToolbarResumeSelectedTemplate.png; path = macosx/Images/ToolbarResumeSelectedTemplate.png; sourceTree = "<group>"; };
    521519                A26146E00DD4A0160060F033 /* GroupsNoneTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = GroupsNoneTemplate.png; path = macosx/Images/GroupsNoneTemplate.png; sourceTree = "<group>"; };
    522520                A261A8250C6A0D68003BAFDA /* Error.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Error.png; path = macosx/Images/Error.png; sourceTree = "<group>"; };
     
    625623                A2B5DF910E39883100394E9A /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = macosx/tr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
    626624                A2B5DF930E39884200394E9A /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = macosx/tr.lproj/Localizable.strings; sourceTree = "<group>"; };
    627                 A2BB67780D5BA74600AB0618 /* OpenWeb.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = OpenWeb.png; path = macosx/Images/OpenWeb.png; sourceTree = "<group>"; };
     625                A2BB67780D5BA74600AB0618 /* ToolbarOpenWebTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ToolbarOpenWebTemplate.png; path = macosx/Images/ToolbarOpenWebTemplate.png; sourceTree = "<group>"; };
    628626                A2BC19840CA9AF5A00DD302A /* CompleteCheck.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = CompleteCheck.png; path = macosx/Images/CompleteCheck.png; sourceTree = "<group>"; };
    629627                A2BC19DF0CA9D82300DD302A /* evutil.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = evutil.h; path = "third-party/libevent/evutil.h"; sourceTree = "<group>"; };
     
    661659                A2E23AC40CB5E1930002BB25 /* InfoTabButtonCell.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = InfoTabButtonCell.m; path = macosx/InfoTabButtonCell.m; sourceTree = "<group>"; };
    662660                A2E2EA910EE321C200EB6308 /* Groups.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Groups.png; path = macosx/Images/Groups.png; sourceTree = "<group>"; };
    663                 A2E9AA750C249AF400085DCF /* Create.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Create.png; path = macosx/Images/Create.png; sourceTree = "<group>"; };
     661                A2E9AA750C249AF400085DCF /* ToolbarCreateTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ToolbarCreateTemplate.png; path = macosx/Images/ToolbarCreateTemplate.png; sourceTree = "<group>"; };
    664662                A2EA8E3C0CC3C9830081201C /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = macosx/fr.lproj/InfoPlist.strings; sourceTree = "<group>"; };
    665663                A2EA8E3E0CC3C9830081201C /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = macosx/fr.lproj/Localizable.strings; sourceTree = "<group>"; };
     
    677675                A2F151230CD438DE001F3B0E /* InfoTabBackBlue.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = InfoTabBackBlue.png; path = macosx/Images/InfoTabBackBlue.png; sourceTree = "<group>"; };
    678676                A2F41DAA0D0B916B006CE378 /* YingYangTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = YingYangTemplate.png; path = macosx/Images/YingYangTemplate.png; sourceTree = "<group>"; };
    679                 A2F41DBA0D0B96C0006CE378 /* FilterBlue.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = FilterBlue.png; path = macosx/Images/FilterBlue.png; sourceTree = "<group>"; };
    680                 A2F41DBB0D0B96C0006CE378 /* InfoBlue.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = InfoBlue.png; path = macosx/Images/InfoBlue.png; sourceTree = "<group>"; };
    681677                A2F41F8D0D73595100B82116 /* InfoTracker.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = InfoTracker.png; path = macosx/Images/InfoTracker.png; sourceTree = "<group>"; };
    682678                A2F8951E0A2D4BA500ED2127 /* Credits.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = Credits.rtf; path = macosx/Credits.rtf; sourceTree = "<group>"; };
     
    10051001                                4D043A7E090AE979009FEDA8 /* TransmissionDocument.icns */,
    10061002                                A26146E00DD4A0160060F033 /* GroupsNoneTemplate.png */,
    1007                                 A232D29D0A70903E00973B12 /* Filter.png */,
    1008                                 A2F41DBA0D0B96C0006CE378 /* FilterBlue.png */,
    1009                                 4DF7500808A103AD007B0D70 /* Info.png */,
    1010                                 A2F41DBB0D0B96C0006CE378 /* InfoBlue.png */,
    1011                                 4DF7500708A103AD007B0D70 /* Open.png */,
    1012                                 A2BB67780D5BA74600AB0618 /* OpenWeb.png */,
    1013                                 A2E9AA750C249AF400085DCF /* Create.png */,
    10141003                                A2F011980C27418800576FC0 /* CreateLarge.png */,
    1015                                 4DF7500908A103AD007B0D70 /* Remove.png */,
    10161004                                A22D3AA30D00D1790079CFED /* Turtle.png */,
    10171005                                A22D3AA40D00D1790079CFED /* TurtleBlue.png */,
     
    10331021                                4DDFDD21099A5D8E00189D81 /* UploadBadge.png */,
    10341022                                A24B655F0D3F30870079EA4D /* QuitBadge.png */,
    1035                                 4DE5CCB80981D27700BE280E /* ResumeAll.png */,
    1036                                 4DE5CCB90981D27700BE280E /* PauseAll.png */,
    1037                                 A25FCDDD0A37695F002BCBBE /* PauseSelected.png */,
    1038                                 A25FCDDE0A37695F002BCBBE /* ResumeSelected.png */,
     1023                                A232D29D0A70903E00973B12 /* ToolbarFilterTemplate.png */,
     1024                                4DF7500808A103AD007B0D70 /* ToolbarInfoTemplate.png */,
     1025                                4DF7500708A103AD007B0D70 /* ToolbarOpenTemplate.png */,
     1026                                A2BB67780D5BA74600AB0618 /* ToolbarOpenWebTemplate.png */,
     1027                                4DF7500908A103AD007B0D70 /* ToolbarRemoveTemplate.png */,
     1028                                A2E9AA750C249AF400085DCF /* ToolbarCreateTemplate.png */,
     1029                                4DE5CCB80981D27700BE280E /* ToolbarResumeAllTemplate.png */,
     1030                                A25FCDDE0A37695F002BCBBE /* ToolbarResumeSelectedTemplate.png */,
     1031                                4DE5CCB90981D27700BE280E /* ToolbarPauseAllTemplate.png */,
     1032                                A25FCDDD0A37695F002BCBBE /* ToolbarPauseSelectedTemplate.png */,
    10391033                                A2F151210CD438DE001F3B0E /* InfoTabBorder.png */,
    10401034                                A2F151220CD438DE001F3B0E /* InfoTabBack.png */,
     
    16281622                        files = (
    16291623                                8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */,
    1630                                 4DF7500C08A103AD007B0D70 /* Open.png in Resources */,
    1631                                 4DF7500D08A103AD007B0D70 /* Info.png in Resources */,
    1632                                 4DF7500E08A103AD007B0D70 /* Remove.png in Resources */,
     1624                                4DF7500C08A103AD007B0D70 /* ToolbarOpenTemplate.png in Resources */,
     1625                                4DF7500D08A103AD007B0D70 /* ToolbarInfoTemplate.png in Resources */,
     1626                                4DF7500E08A103AD007B0D70 /* ToolbarRemoveTemplate.png in Resources */,
    16331627                                4D043A7F090AE979009FEDA8 /* TransmissionDocument.icns in Resources */,
    16341628                                4D6DAAC6090CE00500F43C22 /* RevealOff.png in Resources */,
     
    16381632                                4DA6FDC5091141AD00450CB1 /* ResumeOff.png in Resources */,
    16391633                                4DA6FDC6091141AD00450CB1 /* ResumeOn.png in Resources */,
    1640                                 4DE5CCBA0981D27700BE280E /* ResumeAll.png in Resources */,
    1641                                 4DE5CCBB0981D27700BE280E /* PauseAll.png in Resources */,
     1634                                4DE5CCBA0981D27700BE280E /* ToolbarResumeAllTemplate.png in Resources */,
     1635                                4DE5CCBB0981D27700BE280E /* ToolbarPauseAllTemplate.png in Resources */,
    16421636                                4DE5CCCB0981D9BE00BE280E /* Defaults.plist in Resources */,
    16431637                                4DDFDD22099A5D8E00189D81 /* DownloadBadge.png in Resources */,
     
    16461640                                A29B0C270BD15FEF0006F230 /* Credits.rtf in Resources */,
    16471641                                A2F40AE40A361C00006B8288 /* Transmission.icns in Resources */,
    1648                                 A25FCDEF0A3769A6002BCBBE /* PauseSelected.png in Resources */,
    1649                                 A25FCDF00A3769AC002BCBBE /* ResumeSelected.png in Resources */,
     1642                                A25FCDEF0A3769A6002BCBBE /* ToolbarPauseSelectedTemplate.png in Resources */,
     1643                                A25FCDF00A3769AC002BCBBE /* ToolbarResumeSelectedTemplate.png in Resources */,
    16501644                                A2D0E0490A54A97C003C72CF /* Bandwidth.png in Resources */,
    1651                                 A232D29E0A70903E00973B12 /* Filter.png in Resources */,
     1645                                A232D29E0A70903E00973B12 /* ToolbarFilterTemplate.png in Resources */,
    16521646                                A259317E0A73B2CC002F4FE7 /* TransmissionHelp in Resources */,
    16531647                                35B038130AC5B6EB00A10FDF /* ResumeNoWaitOn.png in Resources */,
     
    16551649                                A22A8D560AEEAFA5007E9CB9 /* Localizable.strings in Resources */,
    16561650                                A241528B0C0261B8007DD3B4 /* Globe.png in Resources */,
    1657                                 A2E9AA760C249AF400085DCF /* Create.png in Resources */,
     1651                                A2E9AA760C249AF400085DCF /* ToolbarCreateTemplate.png in Resources */,
    16581652                                A2F011990C27418800576FC0 /* CreateLarge.png in Resources */,
    16591653                                A20B6F6B0C4D842B0034AB1D /* PriorityLow.png in Resources */,
     
    16841678                                A29AF4F90D01BAEB00D097EC /* UpArrowTemplate.png in Resources */,
    16851679                                A2F41DAB0D0B916B006CE378 /* YingYangTemplate.png in Resources */,
    1686                                 A2F41DBC0D0B96C0006CE378 /* FilterBlue.png in Resources */,
    1687                                 A2F41DBD0D0B96C0006CE378 /* InfoBlue.png in Resources */,
    16881680                                A231274C0D11D0B7003F9AFF /* AboutWindow.xib in Resources */,
    16891681                                A29576030D11D63C0093B167 /* Creator.xib in Resources */,
     
    17021694                                A2623B4E0D3DC6DF0045D19A /* ActionHover.png in Resources */,
    17031695                                A24B65600D3F30870079EA4D /* QuitBadge.png in Resources */,
    1704                                 A2BB67790D5BA74600AB0618 /* OpenWeb.png in Resources */,
     1696                                A2BB67790D5BA74600AB0618 /* ToolbarOpenWebTemplate.png in Resources */,
    17051697                                A245030C0D6A1FB000B49D00 /* UpArrowGroupTemplate.png in Resources */,
    17061698                                A245030E0D6A1FBC00B49D00 /* DownArrowGroupTemplate.png in Resources */,
  • trunk/macosx/Controller.m

    r7522 r7570  
    31053105    [button release];
    31063106   
    3107     NSSize buttonSize = NSMakeSize(36.0, 25.0);
     3107    const NSSize buttonSize = NSMakeSize(36.0, 25.0);
    31083108    [item setMinSize: buttonSize];
    31093109    [item setMaxSize: buttonSize];
     
    31213121        [item setPaletteLabel: NSLocalizedString(@"Create Torrent File", "Create toolbar item -> palette label")];
    31223122        [item setToolTip: NSLocalizedString(@"Create torrent file", "Create toolbar item -> tooltip")];
    3123         [item setImage: [NSImage imageNamed: @"Create.png"]];
     3123        [item setImage: [NSImage imageNamed: @"ToolbarCreateTemplate.png"]];
    31243124        [item setTarget: self];
    31253125        [item setAction: @selector(createFile:)];
     
    31353135        [item setPaletteLabel: NSLocalizedString(@"Open Torrent Files", "Open toolbar item -> palette label")];
    31363136        [item setToolTip: NSLocalizedString(@"Open torrent files", "Open toolbar item -> tooltip")];
    3137         [item setImage: [NSImage imageNamed: @"Open.png"]];
     3137        [item setImage: [NSImage imageNamed: @"ToolbarOpenTemplate.png"]];
    31383138        [item setTarget: self];
    31393139        [item setAction: @selector(openShowSheet:)];
     
    31493149        [item setPaletteLabel: NSLocalizedString(@"Open Torrent Address", "Open address toolbar item -> palette label")];
    31503150        [item setToolTip: NSLocalizedString(@"Open torrent web address", "Open address toolbar item -> tooltip")];
    3151         [item setImage: [NSImage imageNamed: @"OpenWeb.png"]];
     3151        [item setImage: [NSImage imageNamed: @"ToolbarOpenWebTemplate.png"]];
    31523152        [item setTarget: self];
    31533153        [item setAction: @selector(openURLShowSheet:)];
     
    31633163        [item setPaletteLabel: NSLocalizedString(@"Remove Selected", "Remove toolbar item -> palette label")];
    31643164        [item setToolTip: NSLocalizedString(@"Remove selected transfers", "Remove toolbar item -> tooltip")];
    3165         [item setImage: [NSImage imageNamed: @"Remove.png"]];
     3165        [item setImage: [NSImage imageNamed: @"ToolbarRemoveTemplate.png"]];
    31663166        [item setTarget: self];
    31673167        [item setAction: @selector(removeNoDelete:)];
     
    31723172    {
    31733173        ButtonToolbarItem * item = [self standardToolbarButtonWithIdentifier: ident];
     3174        [[(NSButton *)[item view] cell] setShowsStateBy: NSContentsCellMask]; //blue when enabled
    31743175       
    31753176        [item setLabel: NSLocalizedString(@"Inspector", "Inspector toolbar item -> label")];
    31763177        [item setPaletteLabel: NSLocalizedString(@"Toggle Inspector", "Inspector toolbar item -> palette label")];
    31773178        [item setToolTip: NSLocalizedString(@"Toggle the torrent inspector", "Inspector toolbar item -> tooltip")];
    3178         [item setImage: [NSImage imageNamed: @"Info.png"]];
     3179        [item setImage: [NSImage imageNamed: @"ToolbarInfoTemplate.png"]];
    31793180        [item setTarget: self];
    31803181        [item setAction: @selector(showInfo:)];
     
    31943195        [segmentedCell setTrackingMode: NSSegmentSwitchTrackingMomentary];
    31953196       
    3196         NSSize groupSize = NSMakeSize(72.0, 25.0);
     3197        const NSSize groupSize = NSMakeSize(72.0, 25.0);
    31973198        [groupItem setMinSize: groupSize];
    31983199        [groupItem setMaxSize: groupSize];
     
    32063207       
    32073208        [segmentedCell setTag: TOOLBAR_PAUSE_TAG forSegment: TOOLBAR_PAUSE_TAG];
    3208         [segmentedControl setImage: [NSImage imageNamed: @"PauseAll.png"] forSegment: TOOLBAR_PAUSE_TAG];
     3209        [segmentedControl setImage: [NSImage imageNamed: @"ToolbarPauseAllTemplate.png"] forSegment: TOOLBAR_PAUSE_TAG];
    32093210        [segmentedCell setToolTip: NSLocalizedString(@"Pause all transfers",
    32103211                                    "All toolbar item -> tooltip") forSegment: TOOLBAR_PAUSE_TAG];
    32113212       
    32123213        [segmentedCell setTag: TOOLBAR_RESUME_TAG forSegment: TOOLBAR_RESUME_TAG];
    3213         [segmentedControl setImage: [NSImage imageNamed: @"ResumeAll.png"] forSegment: TOOLBAR_RESUME_TAG];
     3214        [segmentedControl setImage: [NSImage imageNamed: @"ToolbarResumeAllTemplate.png"] forSegment: TOOLBAR_RESUME_TAG];
    32143215        [segmentedCell setToolTip: NSLocalizedString(@"Resume all transfers",
    32153216                                    "All toolbar item -> tooltip") forSegment: TOOLBAR_RESUME_TAG];
     
    32333234        [segmentedCell setTrackingMode: NSSegmentSwitchTrackingMomentary];
    32343235       
    3235         NSSize groupSize = NSMakeSize(72.0, 25.0);
     3236        const NSSize groupSize = NSMakeSize(72.0, 25.0);
    32363237        [groupItem setMinSize: groupSize];
    32373238        [groupItem setMaxSize: groupSize];
     
    32453246       
    32463247        [segmentedCell setTag: TOOLBAR_PAUSE_TAG forSegment: TOOLBAR_PAUSE_TAG];
    3247         [segmentedControl setImage: [NSImage imageNamed: @"PauseSelected.png"] forSegment: TOOLBAR_PAUSE_TAG];
     3248        [segmentedControl setImage: [NSImage imageNamed: @"ToolbarPauseSelectedTemplate.png"] forSegment: TOOLBAR_PAUSE_TAG];
    32483249        [segmentedCell setToolTip: NSLocalizedString(@"Pause selected transfers",
    32493250                                    "Selected toolbar item -> tooltip") forSegment: TOOLBAR_PAUSE_TAG];
    32503251       
    32513252        [segmentedCell setTag: TOOLBAR_RESUME_TAG forSegment: TOOLBAR_RESUME_TAG];
    3252         [segmentedControl setImage: [NSImage imageNamed: @"ResumeSelected.png"] forSegment: TOOLBAR_RESUME_TAG];
     3253        [segmentedControl setImage: [NSImage imageNamed: @"ToolbarResumeSelectedTemplate.png"] forSegment: TOOLBAR_RESUME_TAG];
    32533254        [segmentedCell setToolTip: NSLocalizedString(@"Resume selected transfers",
    32543255                                    "Selected toolbar item -> tooltip") forSegment: TOOLBAR_RESUME_TAG];
     
    32633264    {
    32643265        ButtonToolbarItem * item = [self standardToolbarButtonWithIdentifier: ident];
     3266        [[(NSButton *)[item view] cell] setShowsStateBy: NSContentsCellMask]; //blue when enabled
    32653267       
    32663268        [item setLabel: NSLocalizedString(@"Filter", "Filter toolbar item -> label")];
    32673269        [item setPaletteLabel: NSLocalizedString(@"Toggle Filter", "Filter toolbar item -> palette label")];
    32683270        [item setToolTip: NSLocalizedString(@"Toggle the filter bar", "Filter toolbar item -> tooltip")];
    3269         [item setImage: [NSImage imageNamed: @"Filter.png"]];
     3271        [item setImage: [NSImage imageNamed: @"ToolbarFilterTemplate.png"]];
    32703272        [item setTarget: self];
    32713273        [item setAction: @selector(toggleFilterBar:)];
     
    33873389    if ([ident isEqualToString: TOOLBAR_INFO])
    33883390    {
    3389         [toolbarItem setImage: [[fInfoController window] isVisible] ? [NSImage imageNamed: @"InfoBlue.png"]
    3390                                                                     : [NSImage imageNamed: @"Info.png"]];
     3391        [(NSButton *)[toolbarItem view] setState: [[fInfoController window] isVisible]];
    33913392        return YES;
    33923393    }
     
    33953396    if ([ident isEqualToString: TOOLBAR_FILTER])
    33963397    {
    3397         [toolbarItem setImage: ![fFilterBar isHidden] ? [NSImage imageNamed: @"FilterBlue.png"] : [NSImage imageNamed: @"Filter.png"]];
     3398        [(NSButton *)[toolbarItem view] setState: ![fFilterBar isHidden]];
    33983399        return YES;
    33993400    }
Note: See TracChangeset for help on using the changeset viewer.