adium 2491:e09478e114c4: Restraining myself from doing risky cha...

commits at adium.im commits at adium.im
Sat Jun 13 00:01:45 UTC 2009


details:	http://hg.adium.im/adium/rev/e09478e114c4
revision:	2491:e09478e114c4
author:		David Smith <catfish.man at gmail.com>
date:		Fri Jun 12 16:59:52 2009 -0700

Restraining myself from doing risky changes this close to 1.4, so, trivial cleanup of AIAdium.m

diffs (59 lines):

diff -r 3ea385a6b702 -r e09478e114c4 Source/AIAdium.m
--- a/Source/AIAdium.m	Fri Jun 12 17:46:55 2009 -0400
+++ b/Source/AIAdium.m	Fri Jun 12 16:59:52 2009 -0700
@@ -76,7 +76,6 @@
 
 @implementation AIAdium
 
-//Init
 - (id)init
 {
 	if ((self = [super init])) {
@@ -86,11 +85,9 @@
 	return self;
 }
 
-//Core Controllers -----------------------------------------------------------------------------------------------------
 #pragma mark Core Controllers
 @synthesize accountController, chatController, contactController, contentController, dockController, emoticonController, interfaceController, loginController, menuController, preferenceController, soundController, statusController, toolbarController, contactAlertsController, fileTransferController, applescriptabilityController, debugController;
 
-//Loaders --------------------------------------------------------------------------------------------------------
 #pragma mark Loaders
 
 @synthesize componentLoader, pluginLoader;
@@ -102,7 +99,6 @@
     return [NSNotificationCenter defaultCenter];
 }
 
-//Startup and Shutdown -------------------------------------------------------------------------------------------------
 #pragma mark Startup and Shutdown
 //Adium is almost done launching, init
 - (void)applicationWillFinishLaunching:(NSNotification *)notification
@@ -227,7 +223,7 @@
 	[self openAppropriatePreferencesIfNeeded];
 
 	//If no accounts are setup, run the setup wizard
-	if (([[accountController accounts] count] == 0) || ALWAYS_RUN_SETUP_WIZARD) {
+	if (accountController.accounts.count == 0 || ALWAYS_RUN_SETUP_WIZARD) {
 		[AdiumSetupWizard runWizard];
 	}
 
@@ -379,9 +375,8 @@
 
 @synthesize isQuitting;
 
-//Menu Item Hooks ------------------------------------------------------------------------------------------------------
 #pragma mark Menu Item Hooks
-//Show the about box
+
 - (IBAction)showAboutBox:(id)sender
 {
     [[LNAboutBoxController aboutBoxController] showWindow:nil];
@@ -519,7 +514,6 @@
 			   afterDelay:0];
 }
 
-//Other -------------------------------------------------------------------------------------------------------
 #pragma mark Other
 //If Adium was launched by double-clicking an associated file, we get this call after willFinishLaunching but before
 //didFinishLaunching




More information about the commits mailing list