Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Turn off unneeded logging.

  • Loading branch information...
commit 624363c53b1009eac80a72e525f77252b46a3a4d 1 parent 2d7bd23
Uli Kusterer authored

Showing 2 changed files with 5 additions and 5 deletions. Show diff stats Hide diff stats

  1. +3 3 NSWindow+Fade.m
  2. +2 2 UKApplicationListController.m
6 NSWindow+Fade.m
@@ -53,7 +53,7 @@ -(void) fadeInOneStep: (NSTimer*)timer
53 53 [pendingFades removeObjectForKey: key];
54 54 }
55 55
56   - UKLog(@"Fading in: %f", newAlpha);
  56 + //UKLog(@"Fading in: %f", newAlpha);
57 57 [self setAlphaValue: newAlpha];
58 58 }
59 59
@@ -107,7 +107,7 @@ -(void) fadeOutOneStep: (NSTimer*)timer
107 107 [[NSRunLoop currentRunLoop] addTimer: timer forMode: NSEventTrackingRunLoopMode];
108 108
109 109 [self setLevel: [newLevel intValue]];
110   - UKLog(@"Changing level to %u", [newLevel unsignedIntValue]);
  110 + //UKLog(@"Changing level to %u", [newLevel unsignedIntValue]);
111 111
112 112 newAlpha = 0;
113 113 }
@@ -118,7 +118,7 @@ -(void) fadeOutOneStep: (NSTimer*)timer
118 118 }
119 119 }
120 120
121   - UKLog(@"Fading out: %f", newAlpha); // DEBUG ONLY!
  121 + //UKLog(@"Fading out: %f", newAlpha); // DEBUG ONLY!
122 122 [self setAlphaValue: newAlpha];
123 123 }
124 124
4 UKApplicationListController.m
@@ -164,7 +164,7 @@ -(BOOL) appInListIsFrontmost
164 164 NSDictionary* currApp = nil;
165 165 NSDictionary* currRunningApp = [[[[NSWorkspace sharedWorkspace] activeApplication] retain] autorelease];
166 166
167   - UKLog(@"currRunningApp: %@", currRunningApp);
  167 + //UKLog(@"currRunningApp: %@", currRunningApp);
168 168
169 169 while( (currApp = [appEnny nextObject]) )
170 170 {
@@ -182,7 +182,7 @@ -(BOOL) screenSaverRunning
182 182 BOOL saverOrFullScreen = activeApp == nil;
183 183 if( activeApp && !saverOrFullScreen )
184 184 saverOrFullScreen = [[activeApp objectForKey: @"NSApplicationBundleIdentifier"] isEqualToString: @"com.apple.ScreenSaver.Engine"];
185   - UKLog(@"Screen Saver: %s, %@",(saverOrFullScreen?"YES":"NO"),activeApp);
  185 + //UKLog(@"Screen Saver: %s, %@",(saverOrFullScreen?"YES":"NO"),activeApp);
186 186 return( saverOrFullScreen );
187 187 }
188 188

0 comments on commit 624363c

Please sign in to comment.
Something went wrong with that request. Please try again.