adium/adium

Clean up some debug logging and comments
adium-1.6
2013-03-20, Thijs Alkemade
2219add65094
Clean up some debug logging and comments
--- a/Other/Adium Dock Tile Plugin/Source/AIDockTile.m Wed Mar 20 00:57:16 2013 +0100
+++ b/Other/Adium Dock Tile Plugin/Source/AIDockTile.m Wed Mar 20 01:02:22 2013 +0100
@@ -26,7 +26,7 @@
CFStringRef path = CFPreferencesCopyAppValue(CFSTR("DockTilePath"), CFSTR("com.adiumX.adiumX"));
if (!path) {
- NSLog(@"DockTilePath not found.");
+ NSLog(@"AIDockTilePlugin: DockTilePath not found.");
return;
}
@@ -42,8 +42,6 @@
- (void)launchDebug
{
- NSLog(@"Now pretend Adium is launching in debug mode");
-
NSString *path = [[NSBundle bundleForClass:[self class]] bundlePath];
NSMutableArray *pathComponents = [[[path pathComponents] mutableCopy] autorelease];
@@ -53,9 +51,7 @@
[pathComponents removeLastObject];
NSString *adiumPath = [[[NSString pathWithComponents:pathComponents] stringByAppendingPathComponent:@"MacOS"] stringByAppendingPathComponent:@"Adium"];
-
- NSLog(@"Launching Adium from %@", adiumPath);
-
+
NSTask *adiumTask = [[[NSTask alloc] init] autorelease];
[adiumTask setLaunchPath:adiumPath];
--- a/Source/AILoginWindowController.m Wed Mar 20 00:57:16 2013 +0100
+++ b/Source/AILoginWindowController.m Wed Mar 20 01:02:22 2013 +0100
@@ -121,7 +121,7 @@
#endif
#ifndef DEBUG_BUILD
- // If we're not in a debug build, activate debug logging if checked, or if the user passed --debug
+ // If we're not in a debug build, activate debug logging if checked.
if (checkBox_debugMode.state == NSOnState) {
AIEnableDebugLogging();
}