Changeset 553 for trunk/Cocoa/Pester
- Timestamp:
- 07/18/09 05:59:36 (15 years ago)
- Location:
- trunk/Cocoa/Pester/Source
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cocoa/Pester/Source/NJRFSObjectSelector.m
r355 r553 1 1 #import "NJRFSObjectSelector.h" 2 2 #import "NSMenuItem-NJRExtensions.h" 3 #import "NSImage-NJRExtensions.h"4 3 #import "NSString-NJRExtensions.h" 5 4 #include <Carbon/Carbon.h> … … 81 80 } 82 81 return NO; 83 }84 85 - (void)setImage:(NSImage *)image;86 {87 // XXX change to use IconRef; see ICeCoffEELabeledIconCell and Google88 [super setImage: [image bestFitImageForSize: [[self cell] cellSize]]];89 82 } 90 83 … … 139 132 NSMenuItem *item; 140 133 if (path != nil) { // can resolve alias 141 134 [self setImage: [[NSWorkspace sharedWorkspace] iconForFile: path]]; 142 135 { // set image first so titleRectForBounds: returns the correct value 143 136 NSMutableString *title = [[fmgr displayNameAtPath: path] mutableCopy]; -
trunk/Cocoa/Pester/Source/Pester.xcodeproj/project.pbxproj
r543 r553 109 109 E1B11F840CF5F30F004975AA /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E18DAAEE0442D02500050002 /* CoreAudio.framework */; }; 110 110 E1B121970CF62FD1004975AA /* NSMenuItem-NJRExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = E1B121960CF62FD1004975AA /* NSMenuItem-NJRExtensions.m */; }; 111 E1B1219E0CF63858004975AA /* NSImage-NJRExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = E1B1219C0CF63858004975AA /* NSImage-NJRExtensions.m */; };112 111 E1B121B40CF639A1004975AA /* QTKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E1B121B30CF639A1004975AA /* QTKit.framework */; }; 113 112 /* End PBXBuildFile section */ … … 232 231 E1B121950CF62FD1004975AA /* NSMenuItem-NJRExtensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSMenuItem-NJRExtensions.h"; sourceTree = "<group>"; }; 233 232 E1B121960CF62FD1004975AA /* NSMenuItem-NJRExtensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSMenuItem-NJRExtensions.m"; sourceTree = "<group>"; }; 234 E1B1219C0CF63858004975AA /* NSImage-NJRExtensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSImage-NJRExtensions.m"; sourceTree = "<group>"; };235 E1B1219D0CF63858004975AA /* NSImage-NJRExtensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSImage-NJRExtensions.h"; sourceTree = "<group>"; };236 233 E1B121B30CF639A1004975AA /* QTKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QTKit.framework; path = /System/Library/Frameworks/QTKit.framework; sourceTree = "<absolute>"; }; 237 234 E1B46FE804057E3400050002 /* NJRSplitView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NJRSplitView.h; sourceTree = "<group>"; }; … … 486 483 E16959290437A4A400050002 /* NSFont-NJRExtensions.h */, 487 484 E169592A0437A4A400050002 /* NSFont-NJRExtensions.m */, 488 E1B1219C0CF63858004975AA /* NSImage-NJRExtensions.m */,489 E1B1219D0CF63858004975AA /* NSImage-NJRExtensions.h */,490 485 F59E4C0E036B43D2016B311C /* QTMovie-NJRExtensions.h */, 491 486 F59E4C0D036B43D2016B311C /* QTMovie-NJRExtensions.m */, … … 909 904 E1B11F7D0CF5F30F004975AA /* NJRNonCenteringWindow.m in Sources */, 910 905 E1B121970CF62FD1004975AA /* NSMenuItem-NJRExtensions.m in Sources */, 911 E1B1219E0CF63858004975AA /* NSImage-NJRExtensions.m in Sources */,912 906 E15044670CFCDC7E00DE47E9 /* NJRValidatingField.m in Sources */, 913 907 );
Note:
See TracChangeset
for help on using the changeset viewer.