adium 5394:2219add65094: Clean up some debug logging and comments
commits at adium.im
commits at adium.im
Wed Mar 20 00:02:36 UTC 2013
details: http://hg.adium.im/adium/rev/2219add65094
revision: 5394:2219add65094
branch: adium-1.6
author: Thijs Alkemade <me at thijsalkema.de>
date: Wed Mar 20 01:02:22 2013 +0100
Clean up some debug logging and comments
diffs (44 lines):
diff -r da490864fc61 -r 2219add65094 Other/Adium Dock Tile Plugin/Source/AIDockTile.m
--- 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];
diff -r da490864fc61 -r 2219add65094 Source/AILoginWindowController.m
--- 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();
}
More information about the commits
mailing list