Permalink
Browse files

Turn off unneeded logging.

  • Loading branch information...
1 parent 2d7bd23 commit 624363c53b1009eac80a72e525f77252b46a3a4d @uliwitness committed Feb 23, 2010
Showing with 5 additions and 5 deletions.
  1. +3 −3 NSWindow+Fade.m
  2. +2 −2 UKApplicationListController.m
View
@@ -53,7 +53,7 @@ -(void) fadeInOneStep: (NSTimer*)timer
[pendingFades removeObjectForKey: key];
}
- UKLog(@"Fading in: %f", newAlpha);
+ //UKLog(@"Fading in: %f", newAlpha);
[self setAlphaValue: newAlpha];
}
@@ -107,7 +107,7 @@ -(void) fadeOutOneStep: (NSTimer*)timer
[[NSRunLoop currentRunLoop] addTimer: timer forMode: NSEventTrackingRunLoopMode];
[self setLevel: [newLevel intValue]];
- UKLog(@"Changing level to %u", [newLevel unsignedIntValue]);
+ //UKLog(@"Changing level to %u", [newLevel unsignedIntValue]);
newAlpha = 0;
}
@@ -118,7 +118,7 @@ -(void) fadeOutOneStep: (NSTimer*)timer
}
}
- UKLog(@"Fading out: %f", newAlpha); // DEBUG ONLY!
+ //UKLog(@"Fading out: %f", newAlpha); // DEBUG ONLY!
[self setAlphaValue: newAlpha];
}
@@ -164,7 +164,7 @@ -(BOOL) appInListIsFrontmost
NSDictionary* currApp = nil;
NSDictionary* currRunningApp = [[[[NSWorkspace sharedWorkspace] activeApplication] retain] autorelease];
- UKLog(@"currRunningApp: %@", currRunningApp);
+ //UKLog(@"currRunningApp: %@", currRunningApp);
while( (currApp = [appEnny nextObject]) )
{
@@ -182,7 +182,7 @@ -(BOOL) screenSaverRunning
BOOL saverOrFullScreen = activeApp == nil;
if( activeApp && !saverOrFullScreen )
saverOrFullScreen = [[activeApp objectForKey: @"NSApplicationBundleIdentifier"] isEqualToString: @"com.apple.ScreenSaver.Engine"];
- UKLog(@"Screen Saver: %s, %@",(saverOrFullScreen?"YES":"NO"),activeApp);
+ //UKLog(@"Screen Saver: %s, %@",(saverOrFullScreen?"YES":"NO"),activeApp);
return( saverOrFullScreen );
}

0 comments on commit 624363c

Please sign in to comment.