- Timestamp:
- Sep 5, 2006, 2:12:07 AM (16 years ago)
- Location:
- trunk/macosx
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/BarButton.m
r732 r844 49 49 50 50 [nc addObserver: self selector: @selector(setForActive:) 51 name: NSWindowDidBecomeKeyNotification object: nil];51 name: NSWindowDidBecomeKeyNotification object: [self window]]; 52 52 53 53 [nc addObserver: self selector: @selector(setForInactive:) 54 name: NSWindowDidResignKeyNotification object: nil];54 name: NSWindowDidResignKeyNotification object: [self window]]; 55 55 56 56 [nc addObserver: self selector: @selector(resetBounds:) … … 253 253 - (void) setForActive: (NSNotification *) notification 254 254 { 255 if ([notification object] != [self window])256 return;257 258 255 if ([self image] == fButtonSelectedDim) 259 256 [self setImage: fButtonSelected]; … … 267 264 - (void) setForInactive: (NSNotification *) notification 268 265 { 269 if ([notification object] != [self window])270 return;271 272 266 [self setImage: [self image] == fButtonSelected ? fButtonSelectedDim : fButtonNormalDim]; 273 267 274 268 if (fTrackingTag) 269 { 275 270 [self removeTrackingRect: fTrackingTag]; 271 fTrackingTag = 0; 272 } 276 273 } 277 274 -
trunk/macosx/MessageWindowController.m
r842 r844 30 30 #define LEVEL_DEBUG 2 31 31 32 #define UPDATE_SECONDS 0. 432 #define UPDATE_SECONDS 0.6 33 33 #define MAX_LINES 1000 34 34 -
trunk/macosx/TorrentCell.m
r843 r844 97 97 - (void) dealloc 98 98 { 99 #warning make work99 #warning should work? 100 100 //[fErrorImage release]; 101 101 [super dealloc]; … … 110 110 { 111 111 if ([barImage size].width < width) 112 [barImage setSize: NSMakeSize(width * 1.5, BAR_HEIGHT)];112 [barImage setSize: NSMakeSize(width * 2.0, BAR_HEIGHT)]; 113 113 114 114 [barImage compositeToPoint: point fromRect: NSMakeRect(0, 0, width, BAR_HEIGHT) operation: NSCompositeSourceOver];
Note: See TracChangeset
for help on using the changeset viewer.