add icon for the default group filter

This commit is contained in:
Mitchell Livingston 2007-12-21 16:10:13 +00:00
parent 5a2ff8f1fa
commit fc1adc6093
3 changed files with 6 additions and 0 deletions

View File

@ -68,6 +68,7 @@
8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; };
8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
A200B9200A22798F007BBB1E /* InfoWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = A200B83A0A2263BA007BBB1E /* InfoWindowController.m */; };
A20152640D1C1BE70081714F /* PinTemplate.png in Resources */ = {isa = PBXBuildFile; fileRef = A20152630D1C1BE70081714F /* PinTemplate.png */; };
A2085DDC0C53BC74000BC3B7 /* AboutWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = A2085DDA0C53BC74000BC3B7 /* AboutWindowController.m */; };
A2085E3F0C53C949000BC3B7 /* LICENSE in Resources */ = {isa = PBXBuildFile; fileRef = A2085E2F0C53C833000BC3B7 /* LICENSE */; };
A20B6F6B0C4D842B0034AB1D /* PriorityLow.png in Resources */ = {isa = PBXBuildFile; fileRef = A20B6F6A0C4D842B0034AB1D /* PriorityLow.png */; };
@ -409,6 +410,7 @@
8D1107320486CEB800E47090 /* Transmission.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Transmission.app; sourceTree = BUILT_PRODUCTS_DIR; };
A200B8390A2263BA007BBB1E /* InfoWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = InfoWindowController.h; path = macosx/InfoWindowController.h; sourceTree = "<group>"; };
A200B83A0A2263BA007BBB1E /* InfoWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = InfoWindowController.m; path = macosx/InfoWindowController.m; sourceTree = "<group>"; };
A20152630D1C1BE70081714F /* PinTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PinTemplate.png; path = macosx/Images/PinTemplate.png; sourceTree = "<group>"; };
A205E08F0CC66BF5001CA81B /* el */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = el; path = macosx/el.lproj/InfoPlist.strings; sourceTree = "<group>"; };
A205E0910CC66BF5001CA81B /* el */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = el; path = macosx/el.lproj/Localizable.strings; sourceTree = "<group>"; };
A205E0920CC66BF5001CA81B /* el */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = el; path = macosx/el.lproj/MainMenu.nib; sourceTree = "<group>"; };
@ -873,6 +875,7 @@
A29AF4F80D01BAEB00D097EC /* UpArrow.png */,
A29AF4F60D01BADC00D097EC /* DownArrow.png */,
A2F41DAA0D0B916B006CE378 /* YingYangTemplate.png */,
A20152630D1C1BE70081714F /* PinTemplate.png */,
A2F151150CD438A4001F3B0E /* YellowDot.png */,
A2F151160CD438A4001F3B0E /* RedDot.png */,
A2F151170CD438A4001F3B0E /* GreenDot.png */,
@ -1565,6 +1568,7 @@
A29576080D11D70E0093B167 /* MessageWindow.xib in Resources */,
A29576130D11D8DD0093B167 /* InfoWindow.xib in Resources */,
A22180B60D148F0F007D09ED /* GroupsWindow.xib in Resources */,
A20152640D1C1BE70081714F /* PinTemplate.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};

View File

@ -2096,6 +2096,8 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
NSImage * icon = nil;
if (index >= 0)
icon = [[GroupsWindowController groupsController] imageForIndex: index isSmall: YES];
else if (index == GROUP_FILTER_ALL_TAG)
icon = [NSImage imageNamed: @"PinTemplate.png"];
else
{
if ([NSApp isOnLeopardOrBetter])

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B