git.ithinksw.org
/
ITKit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some more code cleanup, converting spaces to tabs. Redid ITKit.h framework
[ITKit.git]
/
ITStatusItem.m
diff --git
a/ITStatusItem.m
b/ITStatusItem.m
index
b758d5c
..
ea31d3a
100644
(file)
--- a/
ITStatusItem.m
+++ b/
ITStatusItem.m
@@
-27,13
+27,13
@@
static BOOL _ITStatusItemShouldKillShadow = NO;
}
- (id)_initInStatusBar:(NSStatusBar *)statusBar withLength:(float)length withPriority:(int)priority {
}
- (id)_initInStatusBar:(NSStatusBar *)statusBar withLength:(float)length withPriority:(int)priority {
- if ((self = [super _initInStatusBar:statusBar withLength:length withPriority:priority])) {
+
if ((self = [super _initInStatusBar:statusBar withLength:length withPriority:priority])) {
if (_ITStatusItemShouldKillShadow) {
[[(NSButton *)[self _button] cell] setType:NSNullCellType];
}
if (_ITStatusItemShouldKillShadow) {
[[(NSButton *)[self _button] cell] setType:NSNullCellType];
}
- [self setHighlightMode:YES];
- }
- return self;
+
[self setHighlightMode:YES];
+
}
+
return self;
}
- (NSImage *)alternateImage {
}
- (NSImage *)alternateImage {
@@
-48,7
+48,7
@@
static BOOL _ITStatusItemShouldKillShadow = NO;
[(id <_ITStatusItemNSStatusItemPantherCompatability>)super setAlternateImage:image];
return;
}
[(id <_ITStatusItemNSStatusItemPantherCompatability>)super setAlternateImage:image];
return;
}
- [(NSButton *)[self _button] setAlternateImage:image];
+
[(NSButton *)[self _button] setAlternateImage:image];
}
@end
\ No newline at end of file
}
@end
\ No newline at end of file