git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed completely (I hope) the rest of the radio tuner bug. Some other
[MenuTunes.git]
/
StatusWindowController.m
diff --git
a/StatusWindowController.m
b/StatusWindowController.m
index
a9859c3
..
c6a2397
100755
(executable)
--- a/
StatusWindowController.m
+++ b/
StatusWindowController.m
@@
-5,8
+5,7
@@
- (id)init
{
- (id)init
{
- if ( (self = [super init]) )
- {
+ if ( (self = [super init]) ) {
[NSBundle loadNibNamed:@"StatusWindow" owner:self];
[statusWindow center];
}
[NSBundle loadNibNamed:@"StatusWindow" owner:self];
[statusWindow center];
}
@@
-32,15
+31,13
@@
- (void)fadeWindowOut
{
[NSThread detachNewThreadSelector:@selector(fadeOutAux) toTarget:self withObject:nil];
- (void)fadeWindowOut
{
[NSThread detachNewThreadSelector:@selector(fadeOutAux) toTarget:self withObject:nil];
-
}
- (void)fadeOutAux
{
NSAutoreleasePool *p00l = [[NSAutoreleasePool alloc] init];
float i;
}
- (void)fadeOutAux
{
NSAutoreleasePool *p00l = [[NSAutoreleasePool alloc] init];
float i;
- for (i = 1.0; i > 0; i -= .003)
- {
+ for (i = 1.0; i > 0; i -= .003) {
[statusWindow setAlphaValue:i];
}
[statusWindow close];
[statusWindow setAlphaValue:i];
}
[statusWindow close];