From 7d71d9d773ca7ee8b5920e304b7b41b92120943f Mon Sep 17 00:00:00 2001 From: sqlprodev Date: Thu, 14 Feb 2013 20:14:07 +0000 Subject: Changing SP_REFACTOR macro to SP_CODA --- Source/SPConnectionControllerDataSource.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/SPConnectionControllerDataSource.m') diff --git a/Source/SPConnectionControllerDataSource.m b/Source/SPConnectionControllerDataSource.m index daf2c3af..231737c7 100644 --- a/Source/SPConnectionControllerDataSource.m +++ b/Source/SPConnectionControllerDataSource.m @@ -45,7 +45,7 @@ @implementation SPConnectionController (SPConnectionControllerDataSource) -#ifndef SP_REFACTOR +#ifndef SP_CODA /** * Return the number of children for the specified item in the favourites tree. @@ -55,7 +55,7 @@ - (NSInteger)outlineView:(NSOutlineView *)outlineView numberOfChildrenOfItem:(id)item { SPTreeNode *node = (item == nil ? favoritesRoot : (SPTreeNode *)item); - + // If at the root, return the count plus one for the "Quick Connect" entry if (!item) { return [[node childNodes] count] + 1; @@ -110,7 +110,7 @@ if (![node isGroup]) { // Updating the name triggers a KVO update - [self setName:newName]; + [self setName:newName]; [self _saveCurrentDetailsCreatingNewFavorite:NO validateDetails:NO]; } else { -- cgit v1.2.3