From fc1adc6093360f05864c8fd57fc20317f6c632ed Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Fri, 21 Dec 2007 16:10:13 +0000 Subject: [PATCH] add icon for the default group filter --- Transmission.xcodeproj/project.pbxproj | 4 ++++ macosx/Controller.m | 2 ++ macosx/Images/PinTemplate.png | Bin 0 -> 628 bytes 3 files changed, 6 insertions(+) create mode 100644 macosx/Images/PinTemplate.png diff --git a/Transmission.xcodeproj/project.pbxproj b/Transmission.xcodeproj/project.pbxproj index 6f57c80e4..5b033fc32 100644 --- a/Transmission.xcodeproj/project.pbxproj +++ b/Transmission.xcodeproj/project.pbxproj @@ -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 = ""; }; A200B83A0A2263BA007BBB1E /* InfoWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = InfoWindowController.m; path = macosx/InfoWindowController.m; sourceTree = ""; }; + A20152630D1C1BE70081714F /* PinTemplate.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PinTemplate.png; path = macosx/Images/PinTemplate.png; sourceTree = ""; }; A205E08F0CC66BF5001CA81B /* el */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = el; path = macosx/el.lproj/InfoPlist.strings; sourceTree = ""; }; A205E0910CC66BF5001CA81B /* el */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = el; path = macosx/el.lproj/Localizable.strings; sourceTree = ""; }; A205E0920CC66BF5001CA81B /* el */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = el; path = macosx/el.lproj/MainMenu.nib; sourceTree = ""; }; @@ -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; }; diff --git a/macosx/Controller.m b/macosx/Controller.m index cefcf028f..52b8ff6a8 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -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]) diff --git a/macosx/Images/PinTemplate.png b/macosx/Images/PinTemplate.png new file mode 100644 index 0000000000000000000000000000000000000000..fd5f2efed0fd61eb8014221b7a146e03a608a913 GIT binary patch literal 628 zcmV-)0*n2LP)a>QWb(Li%U{-ixoWclJkoS@{1BnQd2;V0=p05ZpVUx zoKyv1h>_@FLI4#05Z32FaJVvxok55pKyqnO8I;M$c$P39VMgU%1_s9<1_qX$2(hpq z3=C`Z85m@l5n^ge3=Bf`3=A6!0P(<3JxJUzfdBviA#_DpbW?9;ba!ELWdKKVVQ^?^ zV?%Flc4cyOWpW@WNp5syY$4xr@iyu7?;!NI{W#Sei7Tox1*41{YC7Z=ZgSr0V%X;4rQ++==! zem87xmH?V^4W!7%#s;MDDTpm1A`*|&?E(S($lOcW`lW>0u}aM$j_6RwDzVVi5@d00030{{sMd<3jIBb7Fr0 O0000